We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BTreeMap::extract_if
1 parent 699a4f5 commit 7183ebeCopy full SHA for 7183ebe
tests/pass/btreemap.rs
@@ -50,7 +50,7 @@ pub fn main() {
50
test_all_refs(&mut 13, b.values_mut());
51
52
// Test forgetting the extractor.
53
- let mut d = b.extract_if(|_, i| *i < 30);
+ let mut d = b.extract_if(.., |_, i| *i < 30);
54
d.next().unwrap();
55
mem::forget(d);
56
}
0 commit comments