diff options
| author | Jake Worth <jakeworth82@gmail.com> | 2015-12-04 12:32:36 -0500 |
|---|---|---|
| committer | Jake Worth <jakeworth82@gmail.com> | 2015-12-04 12:32:36 -0500 |
| commit | 2217cf1af27d7980aba9deca4e78165cab5e80fc (patch) | |
| tree | cac575240656869f660d3fe297878d2f7cc30e55 /src | |
| parent | ac0e84522437331f9a06d04a5842acf0234cc86e (diff) | |
| download | rust-2217cf1af27d7980aba9deca4e78165cab5e80fc.tar.gz rust-2217cf1af27d7980aba9deca4e78165cab5e80fc.zip | |
Fix typo
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/loops.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/loops.md b/src/doc/book/loops.md index 3e12e86da23..68bb49d2c29 100644 --- a/src/doc/book/loops.md +++ b/src/doc/book/loops.md @@ -80,7 +80,7 @@ for var in expression { } ``` -The expression is an item can can be converted into an [iterator] using +The expression is an item that can be converted into an [iterator] using [`IntoIterator`]. The iterator gives back a series of elements. Each element is one iteration of the loop. That value is then bound to the name `var`, which is valid for the loop body. Once the body is over, the next value is fetched from |
