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

Supertrait shown in docs for core::num::Zero but not std::num::Zero. #14636

Closed
tomjakubowski opened this issue Jun 4, 2014 · 1 comment · Fixed by #14640
Closed

Supertrait shown in docs for core::num::Zero but not std::num::Zero. #14636

tomjakubowski opened this issue Jun 4, 2014 · 1 comment · Fixed by #14640
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@tomjakubowski
Copy link
Contributor

I imagine this has something to do with re-exporting:

http://static.rust-lang.org/doc/master/core/num/trait.Zero.html

pub trait Zero: Add<Self, Self> {
    fn zero() -> Self;
    fn is_zero(&self) -> bool;
}

http://static.rust-lang.org/doc/master/std/num/trait.Zero.html

pub trait Zero {
    fn zero() -> Self;
    fn is_zero(&self) -> bool;
}
@alexcrichton
Copy link
Member

It appears this line is indeed wrong!

tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Jun 5, 2014
Previously, documentation for an inlined trait (i.e. a trait imported
and reexported from another crate) didn't display the trait's
supertraits.

Closes rust-lang#14636
bors added a commit that referenced this issue Jun 5, 2014
Previously, documentation for an inlined trait (i.e. a trait imported
and reexported from another crate) didn't display the trait's supertraits.

Closes #14636
mcpherrinm pushed a commit to mcpherrinm/rust that referenced this issue Jun 10, 2014
Previously, documentation for an inlined trait (i.e. a trait imported
and reexported from another crate) didn't display the trait's
supertraits.

Closes rust-lang#14636
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
internal: Remove unnecessary is_derive field from MacroCallKind::Attr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants