diff options
| author | bors <bors@rust-lang.org> | 2018-11-22 06:50:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-11-22 06:50:18 +0000 |
| commit | f3adec65dd0b05a0a30cd2c134f252e8bece0b76 (patch) | |
| tree | c54838e3d026957c59ab9cc49a16afd213820961 /src/libsyntax/parse/parser.rs | |
| parent | 4bec59c93baa71d599a616fda9f1180febb08386 (diff) | |
| parent | 99bed21101ef098393c9e6c8eb64f21892dbc8be (diff) | |
| download | rust-f3adec65dd0b05a0a30cd2c134f252e8bece0b76.tar.gz rust-f3adec65dd0b05a0a30cd2c134f252e8bece0b76.zip | |
Auto merge of #53918 - Havvy:doc-sort-by, r=GuillaumeGomez
Doc total order requirement of sort(_unstable)_by I took the definition of what a total order is from the Ord trait docs. I specifically put "elements of the slice" because if you have a slice of f64s, but know none are NaN, then sorting by partial ord is total in this case. I'm not sure if I should give such an example in the docs or not. r? @GuillaumeGomez
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
