From 244014e40212a3790ebdc2b18ee3875262cced51 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 15 Oct 2013 21:30:49 -0400 Subject: [PATCH] doc/effective_go.html: fix code example Fixes #6595. R=golang-dev, adg CC=golang-dev https://golang.org/cl/14425062 --- doc/effective_go.html | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/effective_go.html b/doc/effective_go.html index 30c015aea1..f9199511a3 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -795,6 +795,7 @@ This example shows both uses.
 Loop:
 	for n := 0; n < len(src); n += size {
+		switch {
 		case src[n] < sizeOne:
 			if validateOnly {
 				break
-- 
2.50.0