From: Stephen Ma Date: Wed, 6 Oct 2010 08:39:30 +0000 (+1100) Subject: bufio: minor documentation fix. X-Git-Tag: weekly.2010-10-13~68 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5043f0a1ad4a3faba0ed04241b718a0cc4bb0372;p=gostls13.git bufio: minor documentation fix. R=golang-dev, adg CC=golang-dev https://golang.org/cl/2301045 --- diff --git a/src/pkg/bufio/bufio.go b/src/pkg/bufio/bufio.go index 1cac079274..8c951903a1 100644 --- a/src/pkg/bufio/bufio.go +++ b/src/pkg/bufio/bufio.go @@ -284,7 +284,7 @@ func (b *Reader) ReadSlice(delim byte) (line []byte, err os.Error) { } // ReadBytes reads until the first occurrence of delim in the input, -// returning a string containing the data up to and including the delimiter. +// returning a slice containing the data up to and including the delimiter. // If ReadBytes encounters an error before finding a delimiter, // it returns the data read before the error and the error itself (often os.EOF). // ReadBytes returns err != nil if and only if line does not end in delim.