Skip to content

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

Closed
@tomjakubowski

Description

@tomjakubowski

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions