diff options
author | xPushkin <pd.stroganov@gmail.com> | 2017-10-08 13:30:35 +0100 |
---|---|---|
committer | xPushkin <pd.stroganov@gmail.com> | 2017-10-08 13:30:35 +0100 |
commit | f24d00fcc6f11f3a622727e6ff27cd42db765028 (patch) | |
tree | 300617ae18ca9c2e8d628dcab25c00a20fc460e8 /bytesconv.go | |
parent | Mention that the body returned from Request.Body and Response.Body is valid u... (diff) | |
download | fasthttp-f24d00fcc6f11f3a622727e6ff27cd42db765028.tar.gz fasthttp-f24d00fcc6f11f3a622727e6ff27cd42db765028.tar.bz2 fasthttp-f24d00fcc6f11f3a622727e6ff27cd42db765028.zip |
A lot of typo fixes
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 d92150f..24c20eb 100644 --- a/bytesconv.go +++ b/bytesconv.go @@ -164,7 +164,7 @@ func ParseUint(buf []byte) (int, error) { var ( errEmptyInt = errors.New("empty integer") errUnexpectedFirstChar = errors.New("unexpected first char found. Expecting 0-9") - errUnexpectedTrailingChar = errors.New("unexpected traling char found. Expecting 0-9") + errUnexpectedTrailingChar = errors.New("unexpected trailing char found. Expecting 0-9") errTooLongInt = errors.New("too long int") ) @@ -431,7 +431,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 deperecated and may be deleted soon. +// This function is deprecated and may be deleted soon. func EqualBytesStr(b []byte, s string) bool { return string(b) == s } |