mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +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.