We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52408f5 commit 7e8afe2Copy full SHA for 7e8afe2
clippy_lints/src/comparison_chain.rs
@@ -36,7 +36,7 @@ declare_clippy_lint! {
36
/// # fn b() {}
37
/// # fn c() {}
38
/// fn f(x: u8, y: u8) {
39
- /// match x.cmp(y) {
+ /// match x.cmp(&y) {
40
/// Ordering::Greater => a(),
41
/// Ordering::Less => b(),
42
/// Ordering::Equal => c()
0 commit comments