about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorStjepan Glavina <stjepang@gmail.com>2017-01-26 11:09:45 +0100
committerStjepan Glavina <stjepang@gmail.com>2017-01-26 11:09:45 +0100
commitf02c9e37415de1b838ec08f6cbc54524d5c755f7 (patch)
treed3931939e1c37347fad9f4990328241bb2d2b955 /src/test/incremental/thinlto
parent2f0463a4a4f323c4deffc861349e38c6b5091782 (diff)
downloadrust-f02c9e37415de1b838ec08f6cbc54524d5c755f7.tar.gz
rust-f02c9e37415de1b838ec08f6cbc54524d5c755f7.zip
Rewrite the first sentence in slice::sort
For every method, the first sentence should consisely explain what it does,
not how. This sentence usually starts with a verb.

It's really weird for `sort` to be explained in terms of another function,
namely `sort_by`. There's no need for that because it's obvious how `sort`
sorts elements: there is `T: Ord`.

If `sort_by_key` does not have to explicitly state how it's implemented,
then `sort` doesn't either.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions