Skip to content

Commit 5c443e4

Browse files
GavinJoyceJosé Valim
authored andcommitted
[docs] Fix typo in state of supervised children (#242)
1 parent dce675f commit 5c443e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/gen_stage.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ defmodule GenStage do
258258
Then we can define our supervision tree like this:
259259
260260
children = [
261-
{A, [0]},
262-
{B, [2]},
261+
{A, 0},
262+
{B, 2},
263263
Supervisor.child_spec({C, []}, id: :c1),
264264
Supervisor.child_spec({C, []}, id: :c2),
265265
Supervisor.child_spec({C, []}, id: :c3),

0 commit comments

Comments
 (0)