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
This pattern is a way to retain the ability to add/remove/modify methods of a public trait without breaking compatibility. Example from byteorder: BurntSushi/byteorder#69.
The text was updated successfully, but these errors were encountered:
@dtolnay curious, why we put #[doc(hidden)] on the methods of the public trait, if we can just add these methods to the private counterpart? That is, something like this should work?
I don't think that it matters much in practice, but doc(hidden) methods are still visible, and might cause ambiguous method calls in theory....
This pattern is a way to retain the ability to add/remove/modify methods of a public trait without breaking compatibility. Example from byteorder: BurntSushi/byteorder#69.
The text was updated successfully, but these errors were encountered: