Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustdoc: no implementations shown for a specialized struct alias #25737

Closed
gkoz opened this issue May 23, 2015 · 1 comment
Closed

Rustdoc: no implementations shown for a specialized struct alias #25737

gkoz opened this issue May 23, 2015 · 1 comment

Comments

@gkoz
Copy link
Contributor

gkoz commented May 23, 2015

The Bar docs page doesn't list any inherent methods or trait implementations.

pub struct Foo<T>(T);
pub type Bar = Foo<i32>;

impl Bar {
    /// This method doesn't show up in the `Bar` documentation.
    pub fn bar(&self) -> i32 { self.0 }
}

impl Clone for Bar {
    /// This trait doesn't show up in the `Bar` documentation.
    fn clone(&self) -> Bar -> { Bar(self.0) }
}
@gkoz
Copy link
Contributor Author

gkoz commented May 23, 2015

Oh, this is #19381, sorry for the noise.

@gkoz gkoz closed this as completed May 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant