]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/src/ch13-00-functional-features.md
New upstream version 1.63.0+dfsg1
[rustc.git] / src / doc / book / src / ch13-00-functional-features.md
index f743a7bc6c1f5fd5f55bee3f8a782f8c62dc0b4e..7011cb9f4a594e7e81cce06a2c4548a927a621d4 100644 (file)
@@ -14,11 +14,11 @@ More specifically, we’ll cover:
 
 * *Closures*, a function-like construct you can store in a variable
 * *Iterators*, a way of processing a series of elements
-* How to use these two features to improve the I/O project in Chapter 12
-* The performance of these two features (Spoiler alert: they’re faster than you
-  might think!)
+* How to use closures and iterators to improve the I/O project in Chapter 12
+* The performance of closures and iterators (Spoiler alert: they’re faster than
+  you might think!)
 
-Other Rust features, such as pattern matching and enums, which we’ve covered in
-other chapters, are influenced by the functional style as well. Mastering
+We’ve already covered some other Rust features, such as pattern matching and
+enums, that are also influenced by the functional style. Because mastering
 closures and iterators is an important part of writing idiomatic, fast Rust
-code, so we’ll devote this entire chapter to them.
+code, we’ll devote this entire chapter to them.