Skip to content

Commit b3c39d3

Browse files
authored
Remove outdated TODO (#117)
We use the new error facilities when built with go 1.20, so this TODO no longer applies.
1 parent 7a31dff commit b3c39d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

iter/map.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ func (m Mapper[T, R]) MapErr(input []T, f func(*T) (R, error)) ([]R, error) {
5656
res[i], err = f(t)
5757
if err != nil {
5858
errMux.Lock()
59-
// TODO: use stdlib errors once multierrors land in go 1.20
6059
errs = multierror.Join(errs, err)
6160
errMux.Unlock()
6261
}

0 commit comments

Comments
 (0)