Skip to content

Commit 020a377

Browse files
author
Peter Minten
committed
Correct the function name in Stream.take_every spec
1 parent 14b3dff commit 020a377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/stream.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ defmodule Stream do
616616
[1,3,5,7,9]
617617
618618
"""
619-
@spec take(Enumerable.t, non_neg_integer) :: Enumerable.t
619+
@spec take_every(Enumerable.t, non_neg_integer) :: Enumerable.t
620620
def take_every(enum, n) when n > 0 do
621621
lazy enum, n, fn(f1) -> R.take_every(n, f1) end
622622
end

0 commit comments

Comments
 (0)