]> Cypherpunks repositories - gostls13.git/commit
bytes: don't use an iota for the readOp constants
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 19 Nov 2017 13:40:05 +0000 (13:40 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 19 Nov 2017 16:37:43 +0000 (16:37 +0000)
commitf91ab6c0256877841944c57a12bd779edb2a0f66
tree5f64893df653e2e294af94fa341ddbd19e5a80cb
parente4a3043d1d8691bb1fc39a8542e378f713de7aa0
bytes: don't use an iota for the readOp constants

As per the comments in golang.org/cl/78617. Also leaving a comment here,
to make sure noone else thinks to re-introduce the iota like I did.

Change-Id: I2a2275998b81896eaa0e9d5ee0197661ebe84acf
Reviewed-on: https://go-review.googlesource.com/78676
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/bytes/buffer.go