aboutsummaryrefslogtreecommitdiffstats
path: root/modules/util/io.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/util/io.go')
-rw-r--r--modules/util/io.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/util/io.go b/modules/util/io.go
index b467c0ac8a..0c677c359f 100644
--- a/modules/util/io.go
+++ b/modules/util/io.go
@@ -9,7 +9,7 @@ import (
)
// ReadAtMost reads at most len(buf) bytes from r into buf.
-// It returns the number of bytes copied. n is only less then len(buf) if r provides fewer bytes.
+// It returns the number of bytes copied. n is only less than len(buf) if r provides fewer bytes.
// If EOF occurs while reading, err will be nil.
func ReadAtMost(r io.Reader, buf []byte) (n int, err error) {
n, err = io.ReadFull(r, buf)