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
For example, run make doc/alloc/index.html twice in a row and check doc/alloc/boxed/struct.Boxed.html. Where clause of flat_map can be either where U: IntoIterator, F: FnMut(Self::Item) -> U, or where F: FnMut(Self::Item) -> U, U: IntoIterator.
I think it is suspect that where_cluases function in src/librustdoc/clean/simplify.rs uses HashMap.
The text was updated successfully, but these errors were encountered:
sanxiyn
added
the
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
label
Mar 28, 2016
rustdoc: use btree map for where clauses
to get more reproducible output.
Fixes: rust-lang#32555
I've looked at the other uses of HashMap in rustdoc, and they seem ok to (i.e. they use `iter()` and related only for constructing a new map, or when the output goes into independent files).
Not sure what the cause of rust-lang#24473 is, it shouldn't be where clauses, but maybe it was also fixed inbetween since May 2015.
rustdoc: use btree map for where clauses
to get more reproducible output.
Fixes: rust-lang#32555
I've looked at the other uses of HashMap in rustdoc, and they seem ok to (i.e. they use `iter()` and related only for constructing a new map, or when the output goes into independent files).
Not sure what the cause of rust-lang#24473 is, it shouldn't be where clauses, but maybe it was also fixed inbetween since May 2015.
For example, run
make doc/alloc/index.html
twice in a row and checkdoc/alloc/boxed/struct.Boxed.html
. Where clause offlat_map
can be eitherwhere U: IntoIterator, F: FnMut(Self::Item) -> U
, orwhere F: FnMut(Self::Item) -> U, U: IntoIterator
.I think it is suspect that
where_cluases
function insrc/librustdoc/clean/simplify.rs
usesHashMap
.The text was updated successfully, but these errors were encountered: