Skip to content

Commit c514ff0

Browse files
matthiaskrgryaahc
andcommitted
Update clippy_lints/src/neg_cmp_op_on_partial_ord.rs
Co-authored-by: Jane Lusby <[email protected]>
1 parent dabf989 commit c514ff0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/neg_cmp_op_on_partial_ord.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ impl<'tcx> LateLintPass<'tcx> for NoNegCompOpForPartialOrd {
8080
NEG_CMP_OP_ON_PARTIAL_ORD,
8181
expr.span,
8282
"the use of negated comparison operators on partially ordered \
83-
types produces code that is hard to read and refactor. Please \
83+
types produces code that is hard to read and refactor, please \
8484
consider using the `partial_cmp` method instead, to make it \
85-
clear that the two values could be incomparable."
85+
clear that the two values could be incomparable"
8686
)
8787
}
8888
}

0 commit comments

Comments
 (0)