Skip to content

Commit 386e807

Browse files
committed
typo
1 parent 090d063 commit 386e807

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
@@ -95,7 +95,7 @@ Note that it is never a good idea to inspect a message of an error. Type check,
9595

9696
An alternative is a mechanisms called **traits**:
9797
```go
98-
// thie first parameter is a name of new error type, the second is a reference to existing trait
98+
// the first parameter is a name of new error type, the second is a reference to existing trait
9999
TimeoutElapsed = MyErrors.NewType("timeout", errorx.Timeout())
100100
```
101101

0 commit comments

Comments
 (0)