]> Cypherpunks repositories - gostls13.git/commitdiff
bytes: remove obsolete comment
authorMaxim Eryomenko <moeryomenko@gmail.com>
Tue, 28 May 2019 02:45:21 +0000 (02:45 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 28 May 2019 02:52:39 +0000 (02:52 +0000)
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>
src/bytes/buffer.go

index 190c4681623151c0e90b6965f7877ea0285eccb0..f19a4cfff0926c7eba61cead788062b074b1a091 100644 (file)
@@ -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