]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] bufio: discourage use of ReadLine
authorRuss Cox <rsc@golang.org>
Fri, 21 Sep 2012 19:54:27 +0000 (05:54 +1000)
committerRuss Cox <rsc@golang.org>
Fri, 21 Sep 2012 19:54:27 +0000 (05:54 +1000)
commita0e780b7ec5dad5b659b03964a3a69c20e85f10a
treeaf8205de183742f28d4a3894795a7cacc6bf8177
parent64a3b18387fab7d9c0788163b089816cf86ee3d2
[release-branch.go1] bufio: discourage use of ReadLine

««« backport 9e2011d9ed4b
bufio: discourage use of ReadLine

Too many people use it without reading what it does.
Those people want ReadBytes or ReadString.

Fixes #3906.

R=golang-dev, iant, r
CC=golang-dev
https://golang.org/cl/6442087

»»»
src/pkg/bufio/bufio.go