Skip to content

Commit

Permalink
fix version in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Seidl committed Oct 19, 2022
1 parent 93bf570 commit 3472f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ unwrap all erros, you should use `WrappedErrors()` instead

fmt.Println(errors.Unwrap(err)) # "original error" is printed

added in version 4.1.0
added in version 4.2.0

#### func (Error) WrappedErrors

Expand Down
2 changes: 1 addition & 1 deletion retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ when you need unwrap all erros, you should use `WrappedErrors()` instead
fmt.Println(errors.Unwrap(err)) # "original error" is printed
added in version 4.1.0
added in version 4.2.0
*/
func (e Error) Unwrap() error {
return e[len(e)-1]
Expand Down

0 comments on commit 3472f1e

Please sign in to comment.