Closed
Description
Bug Report
Version
0.4.3
Platform
N/A
Description
In the add_service
function on Router
, you are retuning a new Router
which uses Or
as a type parameter. While Or
itself is a public struct, its only public inside its module, since the module it lives in is private.
On the Rust Discord, they suggested that this really is a bug in Rust itself, but it would be a breaking change to fix so it's probably expected in Rust 2024... Regardless, it should be fixed. I'm not sure if we just want to make the module public or re-export the struct
Metadata
Metadata
Assignees
Labels
No labels