about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-19 08:50:12 +0000
committerbors <bors@rust-lang.org>2025-01-19 08:50:12 +0000
commit678e669cc4aab51e3c3fff0660d45362fb830ebd (patch)
tree34978cfaaa6f2b6b3ac641a30ba0af0f0a7713a7 /compiler/rustc_codegen_gcc
parentc62b732724b6beb50a5c73be26d0c5f668504059 (diff)
parent3a6eea0c6aee335cce2112f6098915d458744582 (diff)
downloadrust-678e669cc4aab51e3c3fff0660d45362fb830ebd.tar.gz
rust-678e669cc4aab51e3c3fff0660d45362fb830ebd.zip
Auto merge of #134976 - mgsloan:improve-select-nth-unstable-docs, r=ibraheemdev
Improve `select_nth_unstable` documentation clarity

* Instead uses `before` and `after` variable names in the example
where `greater` and `lesser` are flipped.

* Uses `<=` and `>=` instead of "less than or equal to" and "greater
than or equal to" to make the docs more concise.

* General attempt to remove unnecessary words and be more precise. For
example it seems slightly wrong to say "its final sorted position",
since this implies there is only one sorted position for this element.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions