diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-02-09 10:29:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 09:29:28 +0100 |
commit | c0c5f9cd387c3b450ba24cbe364b44a65d9eb269 (patch) | |
tree | 3d321c0edf20a6789ef34cb494f59936ecc53caa /header.go | |
parent | optimized b2s function (#1483) (diff) | |
download | fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.tar.gz fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.tar.bz2 fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.zip |
doc,test: correct typos (#1484)
Diffstat (limited to 'header.go')
-rw-r--r-- | header.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3083,7 +3083,7 @@ func (s *headerScanner) next() bool { n++ for len(s.b) > n && s.b[n] == ' ' { n++ - // the newline index is a relative index, and lines below trimed `s.b` by `n`, + // the newline index is a relative index, and lines below trimmed `s.b` by `n`, // so the relative newline index also shifted forward. it's safe to decrease // to a minus value, it means it's invalid, and will find the newline again. s.nextNewLine-- |