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 e1e913f commit 2779494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Expand Up @@ -661,7 +661,7 @@ func AppendInvoke(into *error, invoker Invoker) {
AppendInto(into, invoker.Invoke())
}

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

0 comments on commit 2779494

Please sign in to comment.