Update Examples
parent
d50a721e34
commit
e05675fe9b
@ -1335,6 +1335,7 @@ fn main
|
||||
|
||||
println! "imperative style: {}", acc
|
||||
|
||||
|
||||
// Functional approach
|
||||
let sum_of_squared_odd_numbers: u32 =
|
||||
(0..).map $ * $
|
||||
|
Loading…
Reference in New Issue
Block a user