Rollup merge of #129003 - Voultapher:improve-ord-docs, r=workingjubilee · qinheping/verify-rust-std@109f270 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 109f270
Rollup merge of rust-lang#129003 - Voultapher:improve-ord-docs, r=workingjubilee
Improve Ord docs - Makes wording more clear and re-structures some sections that can be overwhelming for someone not already in the know. - Adds examples of how *not* to implement Ord, inspired by various anti-patterns found in real world code. Many of the wording changes are inspired directly by my personal experience of being confused by the `Ord` docs and seeing other people get it wrong as well, especially lately having looked at a number of `Ord` implementations as part of rust-lang#128899. Created with help by `@orlp.` r? `@workingjubilee`
File tree
1 file changed
lines changed
1 file changed
lines changed