aboutsummaryrefslogtreecommitdiff
path: root/src/bytes
diff options
context:
space:
mode:
authorMaxim Eryomenko <moeryomenko@gmail.com>2019-05-28 02:45:21 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2019-05-28 02:52:39 +0000
commit0f897f916aa6734bb8d089400ea996ee461ae41f (patch)
tree3d4435b722bcbae720f6920615e09b8bb1c0c718 /src/bytes
parent3970667d958eadbe591400ac9a53051a39f40ea2 (diff)
downloadgo-0f897f916aa6734bb8d089400ea996ee461ae41f.tar.gz
go-0f897f916aa6734bb8d089400ea996ee461ae41f.zip
bytes: remove obsolete comment
Change-Id: Iec4348eb674c8c64497c82e5d7cd656736cfcebd GitHub-Last-Rev: 462c323960be0ca1c126c051ab97f72949bdc2b6 GitHub-Pull-Request: golang/go#32225 Reviewed-on: https://go-review.googlesource.com/c/go/+/178797 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/bytes')
-rw-r--r--src/bytes/buffer.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bytes/buffer.go b/src/bytes/buffer.go
index 190c468162..f19a4cfff0 100644
--- a/src/bytes/buffer.go
+++ b/src/bytes/buffer.go
@@ -21,9 +21,6 @@ type Buffer struct {
buf []byte // contents are the bytes buf[off : len(buf)]
off int // read at &buf[off], write at &buf[len(buf)]
lastRead readOp // last read operation, so that Unread* can work correctly.
-
- // FIXME: it would be advisable to align Buffer to cachelines to avoid false
- // sharing.
}
// The readOp constants describe the last action performed on