mirror of
https://github.com/kmc7468/cs220.git
synced 2026-11-04 08:10:33 +09:00
Bump Rust
This commit is contained in:
1 parent
91b7639f72
commit
214ca0e629
4 files changed
+14
-16
No files matched your search
@@ -6,7 +6,6 @@ const SIZE: usize = 100_000_000;
|
||||
|
||||
fn sequential() {
|
||||
let _v = (0..SIZE)
|
||||
.into_iter()
|
||||
.filter_map(|x| if x % 2 == 0 { Some(x * 3) } else { None })
|
||||
.collect::<Vec<_>>();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user