Fix typo in comment text

This commit is contained in:
Tom Swartz 2019-10-09 10:15:36 -04:00
parent 81dcc339e0
commit 5d7ea17b15
No known key found for this signature in database
GPG key ID: 07B8C15FCC2A1A93

View file

@ -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 {