aboutsummaryrefslogtreecommitdiff
path: root/compress.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <oleksandr.red+github@gmail.com> 2023-02-13 04:43:44 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-13 10:43:44 +0800
commite15a810a981cc45928acefd70c4a295c9aeaeed5 (patch)
tree10625a06cddc417a6842f70b841faad1d9642d30 /compress.go
parentdocs: replace links to golang.org with go.dev (#1489) (diff)
downloadfasthttp-e15a810a981cc45928acefd70c4a295c9aeaeed5.tar.gz
fasthttp-e15a810a981cc45928acefd70c4a295c9aeaeed5.tar.bz2
fasthttp-e15a810a981cc45928acefd70c4a295c9aeaeed5.zip
docs: fix grammar issues and typos in comments (#1492)
Diffstat (limited to 'compress.go')
-rw-r--r--compress.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compress.go b/compress.go
index 5b73559..5781c77 100644
--- a/compress.go
+++ b/compress.go
@@ -413,7 +413,7 @@ func newCompressWriterPoolMap() []*sync.Pool {
}
func isFileCompressible(f *os.File, minCompressRatio float64) bool {
- // Try compressing the first 4kb of of the file
+ // Try compressing the first 4kb of the file
// and see if it can be compressed by more than
// the given minCompressRatio.
b := bytebufferpool.Get()