mirror of
https://github.com/golang/go
synced 2024-11-25 17:17:56 -07:00
exp/iterables: fix typo
Fixes #1069. R=rsc CC=golang-dev https://golang.org/cl/2143041
This commit is contained in:
parent
f699811c14
commit
a37e3697da
@ -204,7 +204,7 @@ func Cycle(iter Iterable) Iterable {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// Chain returns an Iterable that concatentates all values from the specified Iterables.
|
// Chain returns an Iterable that concatenates all values from the specified Iterables.
|
||||||
func Chain(args []Iterable) Iterable {
|
func Chain(args []Iterable) Iterable {
|
||||||
return Func(func(ch chan<- interface{}) {
|
return Func(func(ch chan<- interface{}) {
|
||||||
for _, e := range args {
|
for _, e := range args {
|
||||||
|
Loading…
Reference in New Issue
Block a user