1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-11-28 10:03:09 +02:00

Clarify speaker note in control-flow-basics (#2102)

Fixes #2096.
This commit is contained in:
Dustin J. Mitchell 2024-05-29 13:08:06 -04:00 committed by GitHub
parent 663018751d
commit 13d69007d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ fn main() {
- Under the hood `for` loops use a concept called "iterators" to handle
iterating over different kinds of ranges/collections. Iterators will be
discussed in more detail later.
- Note that the `for` loop only iterates to `4`. Show the `1..=5` syntax for an
inclusive range.
- Note that the first `for` loop only iterates to `4`. Show the `1..=5` syntax
for an inclusive range.
</details>