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

Comments

Projects
None yet
2 participants
@tomjakubowski
Contributor

tomjakubowski commented Jun 4, 2014

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

This comment has been minimized.

Show comment
Hide comment
@alexcrichton

alexcrichton Jun 4, 2014

Member

It appears this line is indeed wrong!

Member

alexcrichton commented Jun 4, 2014

It appears this line is indeed wrong!

tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Jun 4, 2014

rustdoc: Include supertraits on inlined traits
Previously, documentation for an inlined trait (i.e. a trait imported
and reexported from another crate) did display the trait's supertraits.

Closes #14636

tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Jun 4, 2014

rustdoc: Include supertraits on inlined traits
Previously, documentation for an inlined trait (i.e. a trait imported
and reexported from another crate) did display the trait's supertraits.

Closes #14636

tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Jun 4, 2014

rustdoc: Include supertraits on inlined traits
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

tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Jun 5, 2014

rustdoc: Include supertraits on inlined traits
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

bors added a commit that referenced this issue Jun 5, 2014

auto merge of #14640 : tomjakubowski/rust/fix-14636, r=huonw
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

@bors bors closed this in #14640 Jun 5, 2014

mcpherrinm added a commit to mcpherrinm/rust that referenced this issue Jun 10, 2014

rustdoc: Include supertraits on inlined traits
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment