1
0
mirror of https://github.com/golang/go synced 2024-11-12 01:10:21 -07:00

bytes: remove not actual comment

Signed-off-by: Maxim Eryomenko <moeryomenko@gmail.com>
This commit is contained in:
Maxim Eryomenko 2019-05-24 15:31:25 +03:00
parent 3ce865d7a0
commit 462c323960

View 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