Skip to content

Commit

Permalink
Merge pull request #51 from JayKickliter/jsk/fix-lint
Browse files Browse the repository at this point in the history
fix lint
  • Loading branch information
JayKickliter authored Jan 2, 2025
2 parents f770047 + 0112a2c commit 37aed27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/disktree/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl<'a> Iterator for Iter<'a> {
}
}

impl<'a> DtSeek for Iter<'a> {
impl DtSeek for Iter<'_> {
fn pos(&mut self) -> std::io::Result<Dp> {
self.disktree_csr.pos()
}
Expand Down
2 changes: 1 addition & 1 deletion src/disktree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ mod tests {

// Assert neither hashmap nor disktree contain reserved cells.
for cell in test_cells {
assert!(monaco_hashmap.get(&cell).is_none());
assert!(!monaco_hashmap.contains_key(&cell));
assert!(!monaco_disktree.contains(cell).unwrap());
}

Expand Down

0 comments on commit 37aed27

Please sign in to comment.