Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit 70ab425

Browse files
committed
ignore an unused function
Im not using it right now but it isnt hurting anything
1 parent 6950ec8 commit 70ab425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extract.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
pub(crate) trait Extract {
88
type Item;
99
/// Removes all elements of `self` for which `f(&e)` returns `true`, and returns them as an iterator
10+
#[allow(dead_code)]
1011
fn extract<F: FnMut(&Self::Item) -> bool>(&mut self, f: F) -> ExtractIterator<Self::Item, F>;
1112

1213
fn extract_map<U, F: FnMut(&Self::Item) -> Option<U>>(

0 commit comments

Comments
 (0)