]> Cypherpunks repositories - gostls13.git/commitdiff
effective_go: move 'Type switch' section into 'Control structures' section.
authorRob Pike <r@golang.org>
Fri, 24 Jan 2014 00:26:42 +0000 (16:26 -0800)
committerRob Pike <r@golang.org>
Fri, 24 Jan 2014 00:26:42 +0000 (16:26 -0800)
Needs to be an h3, not an h2.
Thanks to Mingjie Xing for pointing it out.

LGTM=dsymonds
R=golang-codereviews, dsymonds
CC=golang-codereviews
https://golang.org/cl/55980046

doc/effective_go.html

index 094ab3d921cb346cba6f2e9fa6778a981d057bed..74f9f3db9f24bf7729ed684795b88ab3328e4bf7 100644 (file)
@@ -850,7 +850,7 @@ func Compare(a, b []byte) int {
 }
 </pre>
 
-<h2 id="type_switch">Type switch</h2>
+<h3 id="type_switch">Type switch</h3>
 
 <p>
 A switch can also be used to discover the dynamic type of an interface