Skip to content

Commit 906fafa

Browse files
committed
Silence clippy warnings
1 parent 6e17ed1 commit 906fafa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ impl<T: Float> AsRef<T> for NotNan<T> {
553553
}
554554
}
555555

556+
#[allow(clippy::derive_ord_xor_partial_ord)]
556557
impl<T: Float> Ord for NotNan<T> {
557558
fn cmp(&self, other: &NotNan<T>) -> Ordering {
558559
match self.partial_cmp(&other) {

0 commit comments

Comments
 (0)