File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1308,10 +1308,9 @@ valid for the loop body. Once the body is over, the next value is fetched from
13081308the iterator, and we loop another time. When there are no more values, the
13091309` for ` loop is over.
13101310
1311- In our example, the ` range ` function is a function, provided by Rust, that
1312- takes a start and an end position, and gives an iterator over those values. The
1313- upper bound is exclusive, though, so our loop will print ` 0 ` through ` 9 ` , not
1314- ` 10 ` .
1311+ In our example, ` range ` is a function that takes a start and an end position,
1312+ and gives an iterator over those values. The upper bound is exclusive, though,
1313+ so our loop will print ` 0 ` through ` 9 ` , not ` 10 ` .
13151314
13161315Rust does not have the "C style" ` for ` loop on purpose. Manually controlling
13171316each element of the loop is complicated and error prone, even for experienced C
You can’t perform that action at this time.
0 commit comments