Skip to content

Commit 6406dcb

Browse files
committed
typo
1 parent 8aa621a commit 6406dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/iterators.md

+1-1
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)