aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors')
-rw-r--r--src/errors/join.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors/join.go b/src/errors/join.go
index dc5a716aa6..329082a5e3 100644
--- a/src/errors/join.go
+++ b/src/errors/join.go
@@ -6,7 +6,7 @@ package errors
// Join returns an error that wraps the given errors.
// Any nil error values are discarded.
-// Join returns nil if errs contains no non-nil values.
+// Join returns nil if every value in errs is nil.
// The error formats as the concatenation of the strings obtained
// by calling the Error method of each element of errs, with a newline
// between each string.