Updated in response to PR comments.

This commit is contained in:
David Bendory 2023-03-17 09:59:02 -04:00 committed by GitHub
parent 99c3910cf9
commit 92b3f88a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.