mirror of
https://github.com/Jguer/yay
synced 2024-08-31 05:39:29 +00:00
Fix typo in comment text
This commit is contained in:
parent
81dcc339e0
commit
5d7ea17b15
|
@ -30,7 +30,7 @@ func (err *MultiError) Add(e error) {
|
|||
err.mux.Unlock()
|
||||
}
|
||||
|
||||
// Return is used as a wrapper on return on wether to return the
|
||||
// Return is used as a wrapper on return on whether to return the
|
||||
// MultiError Structure if errors exist or nil instead of delivering an empty structure
|
||||
func (err *MultiError) Return() error {
|
||||
if len(err.Errors) > 0 {
|
||||
|
|
Loading…
Reference in a new issue