mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 03:27:17 +00:00
The StableOrd trait can be used to mark types as having a stable sort order across compilation sessions. Collections that sort their items in a stable way can safely implement HashStable by hashing items in sort order.