Skip to content

Commit

Permalink
Auto merge of #105175 - michaelwoerister:add-stable-ord-trait, r=nagisa
Browse files Browse the repository at this point in the history
Add StableOrd trait as proposed in MCP 533.

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.

See rust-lang/compiler-team#533 for more information.
  • Loading branch information
bors committed Dec 6, 2022
2 parents a34a0c9 + bc2454d commit 31a8603
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 31a8603

Please sign in to comment.