Procházet zdrojové kódy

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

Note there's inconsistency on the casing of `causer` in the README and function documentation.
Jud White před 9 roky
rodič
revize
42fa80f2ac
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: