Skip to content

Commit 8dd81e6

Browse files
committed
Merge pull request #2697 from hamiltop/patch-1
Fix docs (missing indentation in examples)
2 parents ab9450d + 26b61b9 commit 8dd81e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/elixir/lib/stream.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ defmodule Stream do
345345
346346
## Examples
347347
348-
iex> Stream.interval(10) |> Enum.take(10)
349-
[0,1,2,3,4,5,6,7,8,9]
348+
iex> Stream.interval(10) |> Enum.take(10)
349+
[0,1,2,3,4,5,6,7,8,9]
350350
351351
"""
352352
@spec interval(non_neg_integer) :: Enumerable.t
@@ -589,8 +589,8 @@ defmodule Stream do
589589
590590
## Examples
591591
592-
iex> Stream.timer(10) |> Enum.to_list
593-
[0]
592+
iex> Stream.timer(10) |> Enum.to_list
593+
[0]
594594
595595
"""
596596
@spec timer(non_neg_integer) :: Enumerable.t

0 commit comments

Comments
 (0)