Skip to content

Commit 3472f1e

Browse files
author
Jan Seidl
committed
fix version in documentation
1 parent 93bf570 commit 3472f1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ unwrap all erros, you should use `WrappedErrors()` instead
192192

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

195-
added in version 4.1.0
195+
added in version 4.2.0
196196

197197
#### func (Error) WrappedErrors
198198

retry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ when you need unwrap all erros, you should use `WrappedErrors()` instead
222222
223223
fmt.Println(errors.Unwrap(err)) # "original error" is printed
224224
225-
added in version 4.1.0
225+
added in version 4.2.0
226226
*/
227227
func (e Error) Unwrap() error {
228228
return e[len(e)-1]

0 commit comments

Comments
 (0)