aboutsummaryrefslogtreecommitdiff
path: root/src/compress
diff options
context:
space:
mode:
authorIgor Zhilianin <igor.zhilianin@gmail.com>2018-10-06 06:10:25 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-10-06 15:40:03 +0000
commitf90e89e675443731e36c2de4bcd3cdd7316d3dfc (patch)
tree7aac9648f2ffbf756b1dfdb242bdee3d795d5b04 /src/compress
parent9f193fbe31d7ffa5f6e71a6387cbcf4636306660 (diff)
downloadgo-f90e89e675443731e36c2de4bcd3cdd7316d3dfc.tar.gz
go-f90e89e675443731e36c2de4bcd3cdd7316d3dfc.zip
all: fix a bunch of misspellings
Change-Id: If2954bdfc551515403706b2cd0dde94e45936e08 GitHub-Last-Rev: d4cfc41a5504cf10befefdb881d4c45986a1d1f8 GitHub-Pull-Request: golang/go#28049 Reviewed-on: https://go-review.googlesource.com/c/140299 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/compress')
-rw-r--r--src/compress/flate/inflate.go2
-rw-r--r--src/compress/zlib/reader.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compress/flate/inflate.go b/src/compress/flate/inflate.go
index 25e81f3f72..685be70a3e 100644
--- a/src/compress/flate/inflate.go
+++ b/src/compress/flate/inflate.go
@@ -65,7 +65,7 @@ func (e *WriteError) Error() string {
return "flate: write error at offset " + strconv.FormatInt(e.Offset, 10) + ": " + e.Err.Error()
}
-// Resetter resets a ReadCloser returned by NewReader or NewReaderDict to
+// Resetter resets a ReadCloser returned by NewReader or NewReaderDict
// to switch to a new underlying Reader. This permits reusing a ReadCloser
// instead of allocating a new one.
type Resetter interface {
diff --git a/src/compress/zlib/reader.go b/src/compress/zlib/reader.go
index 2efa193035..a195b380d8 100644
--- a/src/compress/zlib/reader.go
+++ b/src/compress/zlib/reader.go
@@ -51,7 +51,7 @@ type reader struct {
scratch [4]byte
}
-// Resetter resets a ReadCloser returned by NewReader or NewReaderDict to
+// Resetter resets a ReadCloser returned by NewReader or NewReaderDict
// to switch to a new underlying Reader. This permits reusing a ReadCloser
// instead of allocating a new one.
type Resetter interface {