1
0
mirror of https://github.com/golang/go synced 2024-11-25 05:47:57 -07:00

fix one word for consistency.

R=gri
OCL=27543
CL=27543
This commit is contained in:
Rob Pike 2009-04-15 21:49:50 -07:00
parent dfff1829d4
commit 55faa5f10e

View File

@ -3475,7 +3475,7 @@ must be assignment compatible to the iteration variables.
<p>
For strings, the "range" clause iterates over the Unicode code points
in the string. On successive iterations, the index variable will be the
position of successive UTF-8-encoded code points in the string, and
index of successive UTF-8-encoded code points in the string, and
the second variable, of type <code>int</code>, will be the value of
the corresponding code point. If the iteration encounters an invalid
UTF-8 sequence, the second variable will be <code>0xFFFD</code>,