We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d189bdd commit b421b85Copy full SHA for b421b85
src/errors/wrap.go
@@ -49,7 +49,7 @@ func Is(err, target error) bool {
49
if x, ok := err.(interface{ Is(error) bool }); ok && x.Is(target) {
50
return true
51
}
52
- // TODO: consider supporing target.Is(err). This would allow
+ // TODO: consider supporting target.Is(err). This would allow
53
// user-definable predicates, but also may allow for coping with sloppy
54
// APIs, thereby making it easier to get away with them.
55
if err = Unwrap(err); err == nil {
0 commit comments