Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typo 'round-robbin' to 'round-robin' #249

Merged
merged 1 commit into from Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -515,7 +515,7 @@ flat := lo.Flatten[int]([][]int{{0, 1}, {2, 3, 4, 5}})

### Interleave

Round-robbin alternating input slices and sequentially appending value at index into result.
Round-robin alternating input slices and sequentially appending value at index into result.

```go
interleaved := lo.Interleave[int]([]int{1, 4, 7}, []int{2, 5, 8}, []int{3, 6, 9})
Expand Down
2 changes: 1 addition & 1 deletion slice.go
Expand Up @@ -229,7 +229,7 @@ func Flatten[T any](collection [][]T) []T {
return result
}

// Interleave round-robbin alternating input slices and sequentially appending value at index into result
// Interleave round-robin alternating input slices and sequentially appending value at index into result
// Play: https://go.dev/play/p/DDhlwrShbwe
func Interleave[T any](collections ...[]T) []T {
if len(collections) == 0 {
Expand Down