diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-10-12 15:40:49 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-10-12 15:40:49 -0400 |
commit | 09e55694247f1a9494374e99574cc65bace706e7 (patch) | |
tree | f60ddf5716a04721934fcc841789920116c90b8d /src/util.rs | |
parent | 845dc470e959893422b6117f934e3c9cae3f4bd6 (diff) | |
download | acap-09e55694247f1a9494374e99574cc65bace706e7.tar.xz |
Fix some clippy lints
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.rs b/src/util.rs index 0979782..6a969de 100644 --- a/src/util.rs +++ b/src/util.rs @@ -19,6 +19,7 @@ impl<T> From<T> for Ordered<T> { } } +#[allow(clippy::derive_ord_xor_partial_ord)] impl<T: PartialOrd> Ord for Ordered<T> { fn cmp(&self, other: &Self) -> Ordering { self.partial_cmp(other).expect("Comparison between unordered items") |