Skip to content

Bounds added with where clauses don't appear in documentation #16546

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

Closed
japaric opened this issue Aug 17, 2014 · 0 comments · Fixed by #17531
Closed

Bounds added with where clauses don't appear in documentation #16546

japaric opened this issue Aug 17, 2014 · 0 comments · Fixed by #17531
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@japaric
Copy link
Member

japaric commented Aug 17, 2014

STR

pub struct Foo<A>(A);

impl<A: Copy> Foo<A> {
    pub fn unwrap(&self) -> A {
        let &Foo(inner) = self;

        inner
    }
}

impl<A> Foo<A>
where A: Copy
{
    pub fn misdocumented_unwrap(&self) -> A {
        let &Foo(inner) = self;

        inner
    }
}

Output:

Version:

rustc 0.12.0-pre (78ec3904b 2014-08-16 13:01:09 +0000)
tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Sep 29, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Feb 18, 2024
minor: remove eprintln! macro

`stdx::eprintln!` was remove in rust-lang#16465
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