fix clippy warnings

Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2025-05-05 17:51:27 +08:00
parent 09615d9ab3
commit 0fbb32ecca

View File

@@ -21,6 +21,12 @@ pub struct Watermark {
readers: BTreeMap<u64, usize>,
}
impl Default for Watermark {
fn default() -> Self {
Self::new()
}
}
impl Watermark {
pub fn new() -> Self {
Self {