Skip to content

Commit 284ba42

Browse files
committed
Verdict::default
1 parent 3bca542 commit 284ba42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compaction/filter.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ use std::{panic::RefUnwindSafe, path::Path};
1717

1818
/// Verdict returned by a [`CompactionFilter`].
1919
#[non_exhaustive]
20-
#[derive(Debug)]
20+
#[derive(Debug, Default)]
2121
pub enum Verdict {
2222
/// Keeps the item.
23+
#[default]
2324
Keep,
2425

2526
/// Removes the item.

0 commit comments

Comments
 (0)