diff options
author | Iskander Sharipov <quasilyte@gmail.com> | 2018-09-11 21:26:03 +0300 |
---|---|---|
committer | Kirill Danshin <kirill@danshin.pro> | 2018-09-11 22:29:16 +0300 |
commit | 5c41b44ca750470fda05a02eb0beaeb2153103a9 (patch) | |
tree | 24010ae0c00c01c142d02bd43af0ec5eed386f6d /bytesconv.go | |
parent | Do case insensitive comparisons for headers and cookies (diff) | |
download | fasthttp-5c41b44ca750470fda05a02eb0beaeb2153103a9.tar.gz fasthttp-5c41b44ca750470fda05a02eb0beaeb2153103a9.tar.bz2 fasthttp-5c41b44ca750470fda05a02eb0beaeb2153103a9.zip |
use proper "Deprecated" comment format
Found using https://go-critic.github.io/overview#deprecatedComment-ref
Diffstat (limited to 'bytesconv.go')
-rw-r--r-- | bytesconv.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bytesconv.go b/bytesconv.go index 01633ba..6292957 100644 --- a/bytesconv.go +++ b/bytesconv.go @@ -440,7 +440,7 @@ func appendQuotedPath(dst, src []byte) []byte { // This function has no performance benefits comparing to string(b) == s. // It is left here for backwards compatibility only. // -// This function is deprecated and may be deleted soon. +// Deprecated: may be deleted soon. func EqualBytesStr(b []byte, s string) bool { return string(b) == s } @@ -450,7 +450,7 @@ func EqualBytesStr(b []byte, s string) bool { // This function has no performance benefits comparing to append(dst, src...). // It is left here for backwards compatibility only. // -// This function is deprecated and may be deleted soon. +// Deprecated: may be deleted soon. func AppendBytesStr(dst []byte, src string) []byte { return append(dst, src...) } |