From 92b3f88a5d49229e71adafcfa7b1d01dcb7646f3 Mon Sep 17 00:00:00 2001 From: David Bendory Date: Fri, 17 Mar 2023 09:59:02 -0400 Subject: [PATCH] Updated in response to PR comments. --- src/errors/join.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.