diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-21 22:14:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-21 22:14:57 +0200 |
| commit | d4b7915a597e96ea0a07076efb0eb10817821480 (patch) | |
| tree | 426f51a708c13a470fc24759ee41993e95eead69 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 462cc099c93b2915eef61c3fbc504588b41b27d1 (diff) | |
| parent | b735dce5a67937b369fe8667c0e1c7d766588e05 (diff) | |
| download | rust-d4b7915a597e96ea0a07076efb0eb10817821480.tar.gz rust-d4b7915a597e96ea0a07076efb0eb10817821480.zip | |
Rollup merge of #140526 - Natr1x:sort-direction-documentation, r=dtolnay
docs: Specify that common sort functions sort in an ascending direction From [forum discussion](https://users.rust-lang.org/t/is-there-a-way-to-sort-a-slice-in-specifically-ascending-or-descending-order/128998?u=natr1x) it seems like the sorting direction can be expected to always be ascending (in terms of `cmp::Ordering`). If this is the case then it would be nice to have this stated in the documentation.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
