about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorMichael Sloan <mgsloan@gmail.com>2024-12-31 09:46:37 -0700
committerMichael Sloan <mgsloan@gmail.com>2024-12-31 15:59:28 -0700
commit217e10a70c3d6681408f9eca656567e0194d918b (patch)
tree8273bfff20d6029b955fa3f8653ec7d4d23c6d07 /tests/rustdoc-ui/coverage/enum-tuple.rs
parentaea4e4370330388bf2906b79769d43e581d487b4 (diff)
downloadrust-217e10a70c3d6681408f9eca656567e0194d918b.tar.gz
rust-217e10a70c3d6681408f9eca656567e0194d918b.zip
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 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions