aboutsummaryrefslogtreecommitdiff
path: root/warning.rs
diff options
context:
space:
mode:
Diffstat (limited to 'warning.rs')
-rw-r--r--warning.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/warning.rs b/warning.rs
deleted file mode 100644
index a71bc3f..0000000
--- a/warning.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-use std::iter;
-
-fn main() {
- let mut v = (0..20)
- .map(|_| iter::empty::<()>())
- .collect::<Vec<_>>();
-
- for i in 1..8 {
- v.remove(i + 1);
- }
-}