Skip to content

Commit

Permalink
Apply code review suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Sung Yoon Whang <sungyoonwhang@gmail.com>
  • Loading branch information
burdiyan and sywhang committed Sep 4, 2022
1 parent 2779494 commit 23d7f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Expand Up @@ -663,7 +663,7 @@ func AppendInvoke(into *error, invoker Invoker) {

// AppendFunc is a shorthand for [AppendInvoke].
// It allows using function or method value directly
// without having to wrap it into an Invoker interface.
// without having to wrap it into an [Invoker] interface.
func AppendFunc(into *error, fn func() error) {
AppendInvoke(into, Invoke(fn))
}

0 comments on commit 23d7f37

Please sign in to comment.