Skip to content

Commit a1042ef

Browse files
committed
return the old Blocker::new
1 parent bf7d700 commit a1042ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/blocker.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,8 @@ impl Blocker {
443443
}
444444
}
445445

446-
#[cfg(test)]
446+
// TODO: only for tests and benchmarks
447+
#[allow(dead_code)]
447448
pub(crate) fn new(
448449
network_filters: Vec<crate::filters::network::NetworkFilter>,
449450
options: &BlockerOptions,

0 commit comments

Comments
 (0)