Skip to content

Commit 53bec74

Browse files
committed
Rollup merge of #29007 - dnwade:patch-2, r=alexcrichton
r? @steveklabnik
2 parents 7868fbd + 6406dcb commit 53bec74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/iterators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ own iterator involves implementing the `Iterator` trait. While doing that is
4444
outside of the scope of this guide, Rust provides a number of useful iterators
4545
to accomplish various tasks. But first, a few notes about limitations of ranges.
4646

47-
Ranges are very primitive, and we often can use better alternatives. Consider
47+
Ranges are very primitive, and we often can use better alternatives. Consider the
4848
following Rust anti-pattern: using ranges to emulate a C-style `for` loop. Let’s
4949
suppose you needed to iterate over the contents of a vector. You may be tempted
5050
to write this:

0 commit comments

Comments
 (0)