summaryrefslogtreecommitdiff
path: root/src/pkg/bytes/buffer.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-11-04 16:49:28 -0800
committerRobert Griesemer <gri@golang.org>2009-11-04 16:49:28 -0800
commit48cdfbca940c0c26cca00b4613d8d8f885805645 (patch)
tree258e867ccc33a4bb77c798e21d202f720d42d6d2 /src/pkg/bytes/buffer.go
parent577fbb6bd046feb768281e35fa781de3ab01419e (diff)
downloadgolang-48cdfbca940c0c26cca00b4613d8d8f885805645.tar.gz
gofmt-ify bytes
R=r http://go/go-review/1016044
Diffstat (limited to 'src/pkg/bytes/buffer.go')
-rw-r--r--src/pkg/bytes/buffer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/buffer.go b/src/pkg/bytes/buffer.go
index 6e5887cb0..875086525 100644
--- a/src/pkg/bytes/buffer.go
+++ b/src/pkg/bytes/buffer.go
@@ -46,7 +46,7 @@ func (b *Buffer) Bytes() []byte {
func (b *Buffer) String() string {
if b == nil {
// Special case, useful in debugging.
- return "<nil>"
+ return "<nil>";
}
return string(b.buf[b.off : len(b.buf)]);
}