mirror of https://github.com/01-edu/public.git
docs(closures): correct grammar
This commit is contained in:
parent
10e93ebfa5
commit
4da7643244
|
@ -2,12 +2,7 @@
|
|||
|
||||
### Instructions
|
||||
|
||||
Using closures and iterators create a **function**, `first_fifty_even_square` that returns the first 50 even numbers squared.
|
||||
in a `Vec<i32>`.
|
||||
|
||||
### Notions
|
||||
|
||||
[Iterators and Closures](https://doc.rust-lang.org/book/ch13-00-functional-features.html)
|
||||
Using closures and iterators create a **function**, that returns the first 50 even numbers squared in a `Vec<i32>`.
|
||||
|
||||
### Expected Functions
|
||||
|
||||
|
@ -39,3 +34,7 @@ $ cargo run
|
|||
All elements in [4, 16, 36, ..., 10000], len = 50
|
||||
$
|
||||
```
|
||||
|
||||
### Notions
|
||||
|
||||
[Iterators and Closures](https://doc.rust-lang.org/book/ch13-00-functional-features.html)
|
||||
|
|
Loading…
Reference in New Issue