Skip to content

Commit

Permalink
Update clippy_lints/src/neg_cmp_op_on_partial_ord.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
  • Loading branch information
matthiaskrgr and yaahc committed Aug 10, 2020
1 parent dabf989 commit c514ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/neg_cmp_op_on_partial_ord.rs
Expand Up @@ -80,9 +80,9 @@ impl<'tcx> LateLintPass<'tcx> for NoNegCompOpForPartialOrd {
NEG_CMP_OP_ON_PARTIAL_ORD,
expr.span,
"the use of negated comparison operators on partially ordered \
types produces code that is hard to read and refactor. Please \
types produces code that is hard to read and refactor, please \
consider using the `partial_cmp` method instead, to make it \
clear that the two values could be incomparable."
clear that the two values could be incomparable"
)
}
}
Expand Down

0 comments on commit c514ff0

Please sign in to comment.