Browse Source

docs(closures): correct grammar

pull/1240/head
davhojt 2 years ago committed by Dav Hojt
parent
commit
4da7643244
  1. 11
      subjects/closures/README.md

11
subjects/closures/README.md

@ -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…
Cancel
Save