diff options
-rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index 1e925528d..a4d4ed31d 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -360,7 +360,7 @@ out a data structure. <h3 id="buffer-slice">Use parallel assignment to slice a buffer</h3> <pre> -hdr, body, checksum := buf[0:20], buf[20:len(buf)], buf[len(buf)-4:len(buf)]; +hdr, body, checksum := buf[0:20], buf[20:len(buf)-4], buf[len(buf)-4:len(buf)]; </pre> <h2 id="control-flow">Control Flow</h2> |