]> Cypherpunks repositories - gostls13.git/commit
Remove redundant size check in resize. Let callers worry about that and resize should...
authorYongjian Xu <i3dmaster@gmail.com>
Sat, 2 Jan 2010 00:09:22 +0000 (11:09 +1100)
committerRob Pike <r@golang.org>
Sat, 2 Jan 2010 00:09:22 +0000 (11:09 +1100)
commitca0def66591c6d8219d4b8ad863315f6c97483ce
treec610d8be87b3851e16e0e410401fd8e62f0210ae
parent5a443381598d9222dd171eb5e1d5593ce0ccd1e6
Remove redundant size check in resize. Let callers worry about that and resize should just do "resize".

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/181111
src/pkg/bytes/buffer.go