7 lines
105 B
Text
7 lines
105 B
Text
(0..10).filter_map(move |x| {
|
|
if x != 5 && true {
|
|
Some(x)
|
|
} else {
|
|
None
|
|
}
|
|
})
|