diff options
Diffstat (limited to 'libgo/go/os/error.go')
-rw-r--r-- | libgo/go/os/error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/error.go b/libgo/go/os/error.go index 0e8e2d47f8f..26bfe4cab53 100644 --- a/libgo/go/os/error.go +++ b/libgo/go/os/error.go @@ -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 |