Skip to content

Commit

Permalink
docs: fix doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlGW committed May 7, 2024
1 parent ac098cb commit cf12281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (e Error) Len() int {
return len(e.errors)
}

// Has returns true if the provided error tyoe is found in the errors.
// Has returns true if the provided error type is found in the errors.
// If found, the first error of the provided type is returned.
func (e Error) Has(err error) (error, bool) {
for _, e := range e.errors {
Expand Down

0 comments on commit cf12281

Please sign in to comment.