aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/os/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/error.go')
-rw-r--r--libgo/go/os/error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/error.go b/libgo/go/os/error.go
index 0e8e2d4..26bfe4c 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