diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-01-27 14:41:20 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-01-27 16:42:06 -0800 |
| commit | 4ef67babf2946447bafdfd31e75b135817ce0887 (patch) | |
| tree | ade282c27111829dd73420c77426232b9383feec /src/test/incremental/thinlto | |
| parent | 06fcccfb7d24a733ba90eb67b2e51836dd5a4838 (diff) | |
| parent | f02c9e37415de1b838ec08f6cbc54524d5c755f7 (diff) | |
| download | rust-4ef67babf2946447bafdfd31e75b135817ce0887.tar.gz rust-4ef67babf2946447bafdfd31e75b135817ce0887.zip | |
Rollup merge of #39314 - stjepang:rewrite-sort-header, r=brson
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. r? @steveklabnik
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
