mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Fix typo in comment text
This commit is contained in:
parent
81dcc339e0
commit
5d7ea17b15
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ func (err *MultiError) Add(e error) {
|
||||||
err.mux.Unlock()
|
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
|
// MultiError Structure if errors exist or nil instead of delivering an empty structure
|
||||||
func (err *MultiError) Return() error {
|
func (err *MultiError) Return() error {
|
||||||
if len(err.Errors) > 0 {
|
if len(err.Errors) > 0 {
|
||||||
|
|
Loading…
Reference in a new issue