Skip to content

Commit 0fbb32e

Browse files
committed
fix clippy warnings
Signed-off-by: Alex Chi <[email protected]>
1 parent 09615d9 commit 0fbb32e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mini-lsm-starter/src/mvcc/watermark.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ pub struct Watermark {
2121
readers: BTreeMap<u64, usize>,
2222
}
2323

24+
impl Default for Watermark {
25+
fn default() -> Self {
26+
Self::new()
27+
}
28+
}
29+
2430
impl Watermark {
2531
pub fn new() -> Self {
2632
Self {

0 commit comments

Comments
 (0)