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 renders where Q: ?Sized incorrectly #46726

Closed
ghost opened this issue Dec 14, 2017 · 1 comment
Closed

Rustdoc renders where Q: ?Sized incorrectly #46726

ghost opened this issue Dec 14, 2017 · 1 comment
Assignees
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@ghost
Copy link

ghost commented Dec 14, 2017

Code:

pub fn seek_by<Q, F>(&mut self, mut f: F) -> bool
where
    K: Borrow<Q>,
    Q: ?Sized,
    F: FnMut(&Q) -> cmp::Ordering,
{
    // ...
}

Rustdoc:

@GuillaumeGomez
Copy link
Member

Modern art. That's a feature, not a bug. 😛

@GuillaumeGomez GuillaumeGomez self-assigned this Dec 15, 2017
@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools labels Dec 15, 2017
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Dec 18, 2017
… r=QuietMisdreavus

Fix ?Sized where bound not being displayed at the correct place

Fixes rust-lang#46726.

r? @QuietMisdreavus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant