diff --git a/src/errors/wrap.go b/src/errors/wrap.go index 688c585396..272d056b31 100644 --- a/src/errors/wrap.go +++ b/src/errors/wrap.go @@ -49,7 +49,7 @@ func Is(err, target error) bool { if x, ok := err.(interface{ Is(error) bool }); ok && x.Is(target) { return true } - // TODO: consider supporing target.Is(err). This would allow + // TODO: consider supporting target.Is(err). This would allow // user-definable predicates, but also may allow for coping with sloppy // APIs, thereby making it easier to get away with them. if err = Unwrap(err); err == nil {