]> git.lizzy.rs Git - rust.git/commitdiff
remove rendundant function
authorSteve Klabnik <steve@steveklabnik.com>
Sat, 13 Sep 2014 18:36:52 +0000 (14:36 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Mon, 15 Sep 2014 17:23:46 +0000 (13:23 -0400)
Fixes #17230.

src/doc/guide.md

index 39da876ab85b130fe5ce0f6eaf0e69f0c99d7dfa..baa9511bd63da6c92d2257be1bb769575ef857f3 100644 (file)
@@ -1308,10 +1308,9 @@ valid for the loop body. Once the body is over, the next value is fetched from
 the iterator, and we loop another time. When there are no more values, the
 `for` loop is over.
 
-In our example, the `range` function is a function, provided by Rust, that
-takes a start and an end position, and gives an iterator over those values. The
-upper bound is exclusive, though, so our loop will print `0` through `9`, not
-`10`.
+In our example, `range` is a function that takes a start and an end position,
+and gives an iterator over those values. The upper bound is exclusive, though,
+so our loop will print `0` through `9`, not `10`.
 
 Rust does not have the "C style" `for` loop on purpose. Manually controlling
 each element of the loop is complicated and error prone, even for experienced C