From 55faa5f10eb887dfdd4eb6f525e059fc0047f6a1 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 15 Apr 2009 21:49:50 -0700 Subject: [PATCH] fix one word for consistency. R=gri OCL=27543 CL=27543 --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index e788050b1c..01e6e484bf 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3475,7 +3475,7 @@ must be assignment compatible to the iteration variables.

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 int, will be the value of the corresponding code point. If the iteration encounters an invalid UTF-8 sequence, the second variable will be 0xFFFD, -- 2.48.1