diff options
author | Rob Pike <r@golang.org> | 2009-10-21 23:05:56 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-10-21 23:05:56 -0700 |
commit | 30ffdc708bf05daa4a99ad9b71d0dd09a188ca35 (patch) | |
tree | d0dbf92ea9e614c3b60405a49a622ae919f60dcd /doc/effective_go.html | |
parent | a01f889963adf61b8c6e4864d44dbb5e29c85ebb (diff) | |
download | golang-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.html | 4 |
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(&GOROOT, "goroot", GOROOT, "Go root directory"); + flag.StringVar(&GOROOT, "goroot", GOROOT, "Go root directory") } </pre> |