]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix reference to nonexistent errors.Wrapper
authorBenjamin Peterson <benjamin@python.org>
Wed, 6 Nov 2019 17:54:32 +0000 (17:54 +0000)
committerIan Lance Taylor <iant@golang.org>
Thu, 7 Nov 2019 02:14:17 +0000 (02:14 +0000)
Change-Id: I857d39486cbddbbee0c00fd45eb77f21488f4806
GitHub-Last-Rev: 1b500183cfebadffb4c183e56850bfb794a11703
GitHub-Pull-Request: golang/go#35399
Reviewed-on: https://go-review.googlesource.com/c/go/+/205602
Reviewed-by: Jonathan Amsterdam <jba@google.com>
src/os/error.go

index 0e8e2d47f8fa380dbcddfa43564fcd3748c9ac4a..26bfe4cab5318487c66571950eb80c90e748b382 100644 (file)
@@ -110,7 +110,7 @@ func IsTimeout(err error) bool {
 func underlyingErrorIs(err, target error) bool {
        // Note that this function is not errors.Is:
        // underlyingError only unwraps the specific error-wrapping types
-       // that it historically did, not all errors.Wrapper implementations.
+       // that it historically did, not all errors implementing Unwrap().
        err = underlyingError(err)
        if err == target {
                return true