diff --git a/src/errors/wrap.go b/src/errors/wrap.go index 688c58539691638b405d0025c640affe41379e78..272d056b31846d20ab74a11d301a37101728ced8 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 {