Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Mar 10, 2024
1 parent 1647eab commit 194a742
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gtree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ impl<const ARITY: usize, L: Leaf> Gtree<ARITY, L> {
},
}

if !inode.len() == 0 {
if inode.len() != 0 {
assert_eq!(child_lengths, inode.len());
}
}
Expand Down
1 change: 0 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use core::cmp::Ord;
use core::fmt::{Debug, Formatter, Result as FmtResult};
use core::ops::{Add, Range as StdRange, RangeBounds, Sub};

Expand Down
2 changes: 1 addition & 1 deletion src/version_map.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use core::cmp::{Ordering, PartialOrd};
use core::cmp::Ordering;

use crate::{DeletionTs, Length, ReplicaId, ReplicaIdMap};

Expand Down

0 comments on commit 194a742

Please sign in to comment.