summaryrefslogtreecommitdiff
path: root/doc/effective_go.html
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-10-21 23:05:56 -0700
committerRob Pike <r@golang.org>2009-10-21 23:05:56 -0700
commit30ffdc708bf05daa4a99ad9b71d0dd09a188ca35 (patch)
treed0dbf92ea9e614c3b60405a49a622ae919f60dcd /doc/effective_go.html
parenta01f889963adf61b8c6e4864d44dbb5e29c85ebb (diff)
downloadgolang-30ffdc708bf05daa4a99ad9b71d0dd09a188ca35.tar.gz
drop a couple of semicolons for consistency
R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=35983 CL=35983
Diffstat (limited to 'doc/effective_go.html')
-rw-r--r--doc/effective_go.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 0fad62426..05ac22368 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -1369,7 +1369,7 @@ func (b ByteSize) String() string {
case s >= KB:
return fmt.Sprintf("%.2fKB", b/KB)
}
- return fmt.Sprintf("%.2fB", b);
+ return fmt.Sprintf("%.2fB", b)
}
</pre>
<p>
@@ -1422,7 +1422,7 @@ func init() {
GOROOT = HOME + "/go"
}
// GOROOT may be overridden by --goroot flag on command line.
- flag.StringVar(&amp;GOROOT, "goroot", GOROOT, "Go root directory");
+ flag.StringVar(&amp;GOROOT, "goroot", GOROOT, "Go root directory")
}
</pre>