Skip to content

Commit

Permalink
Clippy warning begone
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaum committed Aug 9, 2024
1 parent 8439896 commit 8c65d6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/db-wiredtiger/src/bindings/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ impl Datum {
pub fn len(&self) -> usize {
self.data.len()
}

pub fn is_empty(&self) -> bool {
self.data.is_empty()
}
}

impl Clone for Datum {
Expand Down

0 comments on commit 8c65d6e

Please sign in to comment.