aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors')
-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 272d056b31..b82ca34b46 100644
--- a/src/errors/wrap.go
+++ b/src/errors/wrap.go
@@ -70,7 +70,7 @@ func Is(err, target error) bool {
// setting target.
//
// An error type might provide an As method so it can be treated as if it were a
-// a different error type.
+// different error type.
//
// As panics if target is not a non-nil pointer to either a type that implements
// error, or to any interface type.