diff options
| author | bors <bors@rust-lang.org> | 2021-01-21 14:12:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-21 14:12:43 +0000 |
| commit | 16d13a5a4b77ea543850a216a0ad8453ebade3cd (patch) | |
| tree | 4ce7b181513f780ffed254734978beeaa60aa266 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | d990c31990e72dfdff361c384da7550968e2822a (diff) | |
| parent | e42208f1b7befe316e32c66b6dc6d242a56f4d84 (diff) | |
| download | rust-16d13a5a4b77ea543850a216a0ad8453ebade3cd.tar.gz rust-16d13a5a4b77ea543850a216a0ad8453ebade3cd.zip | |
Auto merge of #6611 - pastchick3:master, r=flip1995
Fix the reversed suggestion message of `stable_sort_primitive`. Now Clippy emits `stable_sort_primitive` warning as follows: ``` warning: used sort instead of sort_unstable to sort primitive type `usize` --> src\asm.rs:41:13 | 41 | self.successors.sort(); | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.successors.sort_unstable()` | = note: `#[warn(clippy::stable_sort_primitive)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive ``` I think the position of `sort` and `sort_unstable` in the first line should be reversed. changelog: Fix the reversed suggestion message of `stable_sort_primitive`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
