From 4da76432442739fd2bd285d407f0cc7dff9ab548 Mon Sep 17 00:00:00 2001 From: davhojt Date: Wed, 15 Jun 2022 00:03:21 +0300 Subject: [PATCH] docs(closures): correct grammar --- subjects/closures/README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/subjects/closures/README.md b/subjects/closures/README.md index f5c805e0..4f7af2b2 100644 --- a/subjects/closures/README.md +++ b/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`. - -### 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`. ### 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)