about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-21 22:14:57 +0200
committerGitHub <noreply@github.com>2025-05-21 22:14:57 +0200
commitd4b7915a597e96ea0a07076efb0eb10817821480 (patch)
tree426f51a708c13a470fc24759ee41993e95eead69 /compiler/rustc_codegen_llvm/src
parent462cc099c93b2915eef61c3fbc504588b41b27d1 (diff)
parentb735dce5a67937b369fe8667c0e1c7d766588e05 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions