6 lines
83 B
Rust
6 lines
83 B
Rust
fn foo() -> i32 {
|
|
[1, 2, 3].iter()
|
|
.map(|it|)
|
|
.max::<i32>();
|
|
}
|