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 is a rustdoc bug (rust-lang/rust#41072) but even aside from that, this pattern is confusing to people browsing the code because what they see clicking through a [src] link does not match how they will be using the library. Let's discourage renames in pub use unless there is a very good reason, and give an example of a very good reason from a high-quality crate.
The text was updated successfully, but these errors were encountered:
In flate2 the write/read/bufread modules all repeat the same type names:
Unfortunately the rustdoc for
flate2::read::GzEncoder
shows the private names:This is a rustdoc bug (rust-lang/rust#41072) but even aside from that, this pattern is confusing to people browsing the code because what they see clicking through a [src] link does not match how they will be using the library. Let's discourage renames in
pub use
unless there is a very good reason, and give an example of a very good reason from a high-quality crate.The text was updated successfully, but these errors were encountered: