Skip to content

Commit b20d814

Browse files
authored
Fix unusual formatting in Repo.stream/2 example (#3755)
1 parent 99b8a69 commit b20d814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto/repo.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ defmodule Ecto.Repo do
10751075
query = from p in Post,
10761076
select: p.title
10771077
stream = MyRepo.stream(query)
1078-
MyRepo.transaction(fn() ->
1078+
MyRepo.transaction(fn ->
10791079
Enum.to_list(stream)
10801080
end)
10811081
"""

0 commit comments

Comments
 (0)