Commit 244014e4 authored by Shenghou Ma's avatar Shenghou Ma

doc/effective_go.html: fix code example

Fixes #6595.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/14425062
parent 5feb1550
......@@ -795,6 +795,7 @@ This example shows both uses.
<pre>
Loop:
for n := 0; n &lt; len(src); n += size {
switch {
case src[n] &lt; sizeOne:
if validateOnly {
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment