diff --git a/src/errors/join.go b/src/errors/join.go index 05c7053e97..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 consists entirely of 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.