diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2020-08-10 23:50:40 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2020-08-10 23:57:08 +0200 |
| commit | c514ff0c93264e3cebd5eda9caf0b99fc8fd0daa (patch) | |
| tree | d1cabd85fc7447f2ebf9b95c9e7dd2dc1cc30802 | |
| parent | dabf9891954aa0d0c59b230ab0e7afcfd4142be0 (diff) | |
| download | rust-c514ff0c93264e3cebd5eda9caf0b99fc8fd0daa.tar.gz rust-c514ff0c93264e3cebd5eda9caf0b99fc8fd0daa.zip | |
Update clippy_lints/src/neg_cmp_op_on_partial_ord.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
| -rw-r--r-- | clippy_lints/src/neg_cmp_op_on_partial_ord.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/neg_cmp_op_on_partial_ord.rs b/clippy_lints/src/neg_cmp_op_on_partial_ord.rs index 0f5d5ce3495..4fb899125e8 100644 --- a/clippy_lints/src/neg_cmp_op_on_partial_ord.rs +++ b/clippy_lints/src/neg_cmp_op_on_partial_ord.rs @@ -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" ) } } |
