Skip to content

Commit 01bda97

Browse files
author
José Valim
committed
Add missing |> Stream.run/1 to its documentation
1 parent 05a8ce5 commit 01bda97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/lib/stream.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ defmodule Stream do
420420
stream = File.stream!("code")
421421
|> Stream.map(&String.replace(&1, "#", "%"))
422422
|> Stream.into(File.stream!("new"))
423+
|> Stream.run
423424
424425
No computation will be done until we call one of the Enum functions
425426
or `Stream.run/1`.

0 commit comments

Comments
 (0)