Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information