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.
1 parent b8df250 commit 29c3bbaCopy full SHA for 29c3bba
src/tools/miri/tests/pass/issues/issue-141032.rs
@@ -0,0 +1,6 @@
1
+fn main() {
2
+ let mut v = vec![Box::new(0u64), Box::new(1u64)];
3
+ for item in v.extract_if(.., |x| **x == 0) {
4
+ drop(item);
5
+ }
6
+}
0 commit comments