docs(closures): correct grammar

This commit is contained in:
davhojt 2022-06-15 00:03:21 +03:00 committed by Dav Hojt
parent 10e93ebfa5
commit 4da7643244
1 changed files with 5 additions and 6 deletions

View File

@ -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)