Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(336)

Unified Diff: doc/go_tutorial.txt

Issue 174087: code review 174087: fix naked < as reported by pwil3058@gmail.com (Closed)
Patch Set: code review 174087: fix naked < as reported by pwil3058@gmail.com Created 15 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « doc/go_tutorial.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/go_tutorial.txt
===================================================================
--- a/doc/go_tutorial.txt
+++ b/doc/go_tutorial.txt
@@ -278,7 +278,7 @@
By the way, another thing that works on strings, arrays, slices, maps
and channels is the "range" clause on "for" loops. Instead of writing
- for i := 0; i < len(a); i++ { ... }
+ for i := 0; i &lt; len(a); i++ { ... }
to loop over the elements of a slice (or map or ...) , we could write
« no previous file with comments | « doc/go_tutorial.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b