diff options
author | Kirill Danshin <kirill@danshin.pro> | 2018-08-13 23:18:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 23:18:55 +0300 |
commit | 4a16377d6e780cb75b91962ea2100d83f7452565 (patch) | |
tree | 0dc6ad0bb38605fa541965e6c2ba2a50884a68ba /bytesconv.go | |
parent | Merge branch 'master' of github.com:valyala/fasthttp (diff) | |
parent | A lot of typo fixes (diff) | |
download | fasthttp-4a16377d6e780cb75b91962ea2100d83f7452565.tar.gz fasthttp-4a16377d6e780cb75b91962ea2100d83f7452565.tar.bz2 fasthttp-4a16377d6e780cb75b91962ea2100d83f7452565.zip |
Merge pull request #303 from chebyrash/master
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 004d28d..bbb4dbc 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 } |