]> Cypherpunks repositories - gostls13.git/commit
bytes: note that NewBuffer take ownership of its argument
authorAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 2 Jun 2017 15:07:33 +0000 (17:07 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 2 Jun 2017 18:03:36 +0000 (18:03 +0000)
commit29469d2406d213187ee91bd256bb60e98e451324
tree36064bdd04223b9c2c35ea6f7627a9037507ab40
parentc82a6307f4ad5bc211bfd387dcd38602599eeb63
bytes: note that NewBuffer take ownership of its argument

Fixes #19383

Change-Id: Ic84517053ced7794006f6fc65e6f249e97d6cf35
Reviewed-on: https://go-review.googlesource.com/44691
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/bytes/buffer.go