]> Cypherpunks repositories - gostls13.git/commitdiff
drop a couple of semicolons for consistency
authorRob Pike <r@golang.org>
Thu, 22 Oct 2009 06:05:56 +0000 (23:05 -0700)
committerRob Pike <r@golang.org>
Thu, 22 Oct 2009 06:05:56 +0000 (23:05 -0700)
R=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=35983
CL=35983

doc/effective_go.html

index 0fad624263be7b316ad095cac1e9497de4384891..05ac22368191f0ba8a2638f95eea56989c645d97 100644 (file)
@@ -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>