Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 42fa80f

Browse files
judwhitedavecheney
authored andcommitted
README.md: "nor" -> "not", backtick causer (#16)
Note there's inconsistency on the casing of `causer` in the README and function documentation.
1 parent 7a0abd8 commit 42fa80f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type causer interface {
2929
Cause() error
3030
}
3131
```
32-
`errors.Cause` will recursively retrieve the topmost error which does nor implement causer, which is assumed to be the original cause. For example:
32+
`errors.Cause` will recursively retrieve the topmost error which does not implement `causer`, which is assumed to be the original cause. For example:
3333
```
3434
switch err := errors.Cause(err).(type) {
3535
case *MyError:

0 commit comments

Comments
 (0)