Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -0,0 +1,9 @@
|
|||
fn echo(n: &i32) {
|
||||
println!("{}", n);
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let a: [i32; 5];
|
||||
a = [1, 2, 3, 4, 5];
|
||||
let _: Vec<_> = a.into_iter().map(echo).collect();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue