README.md: "nor" -> "not", backtick causer (#16)

Note there's inconsistency on the casing of `causer` in the README and function documentation.
This commit is contained in:
Jud White 2016-05-02 14:39:29 -05:00 committed by Dave Cheney
parent 7a0abd8f63
commit 42fa80f2ac

View File

@ -29,7 +29,7 @@ type causer interface {
Cause() error
}
```
`errors.Cause` will recursively retrieve the topmost error which does nor implement causer, which is assumed to be the original cause. For example:
`errors.Cause` will recursively retrieve the topmost error which does not implement `causer`, which is assumed to be the original cause. For example:
```
switch err := errors.Cause(err).(type) {
case *MyError: