mirror of
https://github.com/golang/go
synced 2024-11-13 17:50:23 -07:00
drop a couple of semicolons for consistency
R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=35983 CL=35983
This commit is contained in:
parent
c6e904d580
commit
2cf9dae134
@ -1369,7 +1369,7 @@ func (b ByteSize) String() string {
|
|||||||
case s >= KB:
|
case s >= KB:
|
||||||
return fmt.Sprintf("%.2fKB", b/KB)
|
return fmt.Sprintf("%.2fKB", b/KB)
|
||||||
}
|
}
|
||||||
return fmt.Sprintf("%.2fB", b);
|
return fmt.Sprintf("%.2fB", b)
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
@ -1422,7 +1422,7 @@ func init() {
|
|||||||
GOROOT = HOME + "/go"
|
GOROOT = HOME + "/go"
|
||||||
}
|
}
|
||||||
// GOROOT may be overridden by --goroot flag on command line.
|
// 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>
|
</pre>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user