浏览代码

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

Note there's inconsistency on the casing of `causer` in the README and function documentation.
Jud White 9 年之前
父节点
当前提交
42fa80f2ac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -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: