mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
56557c4555
Improve std::Path's Hash quality by avoiding prefix collisions This adds a bit rotation to the already existing state so that the same sequence of characters chunked at different offsets into separate path components results in different hashes. The tests are from #127255 Closes #127254