Skip to content

Commit

Permalink
Fix example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
james9909 committed Sep 24, 2019
1 parent 52408f5 commit 7e8afe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/comparison_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare_clippy_lint! {
/// # fn b() {}
/// # fn c() {}
/// fn f(x: u8, y: u8) {
/// match x.cmp(y) {
/// match x.cmp(&y) {
/// Ordering::Greater => a(),
/// Ordering::Less => b(),
/// Ordering::Equal => c()
Expand Down

0 comments on commit 7e8afe2

Please sign in to comment.