Skip to content

Commit 4c04039

Browse files
quasilytevalyala
authored andcommitted
fix deprecated note for ByteBuffer type
The proper format is a comment that starts with "Deprecated:" as described in godoc docs. Signed-off-by: Iskander Sharipov <[email protected]>
1 parent dc50ff9 commit 4c04039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bytebuffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
// Recycle byte buffers via AcquireByteBuffer and ReleaseByteBuffer
1010
// in order to reduce memory allocations.
1111
//
12-
// ByteBuffer is deprecated. Use github.com/valyala/bytebufferpool instead.
12+
// Deprecated: use github.com/valyala/bytebufferpool instead.
1313
type ByteBuffer bytebufferpool.ByteBuffer
1414

1515
// Write implements io.Writer.

0 commit comments

Comments
 (0)