aboutsummaryrefslogtreecommitdiff
path: root/src/errors/wrap.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors/wrap.go')
-rw-r--r--src/errors/wrap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors/wrap.go b/src/errors/wrap.go
index 57060517b5..eec9591dae 100644
--- a/src/errors/wrap.go
+++ b/src/errors/wrap.go
@@ -85,7 +85,7 @@ func is(err, target error, targetComparable bool) bool {
// errors, As examines err followed by a depth-first traversal of its children.
//
// An error matches target if the error's concrete value is assignable to the value
-// pointed to by target, or if the error has a method As(interface{}) bool such that
+// pointed to by target, or if the error has a method As(any) bool such that
// As(target) returns true. In the latter case, the As method is responsible for
// setting target.
//