commit | cd04c5a61804eb40db8966f2725cd9a1388dcbfc | [log] [tgz] |
---|---|---|
author | Matt Drollette <matt@drollette.com> | Wed Sep 16 11:27:02 2015 -0500 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed Sep 16 16:50:28 2015 +0000 |
tree | 449580ed7c966219f05130930d3ed1359f856191 | |
parent | 6f3fb58313759a8571141be7293957fa117bf0e6 [diff] [blame] |
livelog: correct comment typo Change-Id: Id41fb9edea46f8048cf78ba8f1afc607321c0472 Reviewed-on: https://go-review.googlesource.com/14641 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/livelog/livelog.go b/livelog/livelog.go index 545f02a..c5b0c77 100644 --- a/livelog/livelog.go +++ b/livelog/livelog.go
@@ -65,7 +65,7 @@ return append([]byte(nil), b.buf...) } -// Bytes returns a copy of the underlying buffer as a string. +// String returns a copy of the underlying buffer as a string. func (b *Buffer) String() string { b.mu.Lock() defer b.mu.Unlock()