You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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