Skip to content

Commit

Permalink
doc: typo (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixwaaaay committed Oct 3, 2022
1 parent e318a1f commit fdc2739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -305,7 +305,7 @@ Like `lo.Reduce` except that it iterates over elements of collection from right
```go
result := lo.ReduceRight[[]int, []int]([][]int{{0, 1}, {2, 3}, {4, 5}}, func(agg []int, item []int, _ int) []int {
return append(agg, item...)
}, []int{}))
}, []int{})
// []int{4, 5, 2, 3, 0, 1}
```

Expand Down

0 comments on commit fdc2739

Please sign in to comment.