You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tomjakubowski opened this issue
Jan 31, 2015
· 3 comments
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-mediumMedium priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Like all "resugaring" of projection predicates, rustdoc will need to merge the F: Fn(usize) and <F as FnMut(usize)>::Output == bool bounds into one, which will likely mean an extra step when cleaning ty::Generics, after cleaning the individual ty::Predicates in the predicates field.
I can't nominate issues but I think this is crucial for 1.0 because of the pervasive use of closures in the standard library. Rendering Fn trait bounds this way all over the standard library documentation is not going to do Rust any PR favors.
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-mediumMedium priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
For example, see: http://doc.rust-lang.org/std/collections/struct.Bitv.html#method.from_fn
Should look like:
This is because of the change to use associated types for the output.
The text was updated successfully, but these errors were encountered: