mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
parent
789b31a416
commit
688a6ff71d
2 changed files with 4 additions and 3 deletions
|
|
@ -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)]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue