Open
Description
The flate2
crate is structured roughly like this:
mod gz {
pub struct EncoderReader;
impl EncoderReader {
pub fn new() -> EncoderReader {
unimplemented!()
}
}
}
pub use gz::EncoderReader as GzEncoder;
The rustdoc of GzEncoder
is correctly titled but the impl blocks on the page refer to the private name of the type. I would expect the impl blocks and methods to use the public name, just like the top of the page does.