Skip to content

Commit 4329429

Browse files
scott-ad-rileyjosevalim
authored andcommitted
Fix typo/reference in Supervisor @moduledoc (#6622)
All examples leading up to this snippet have used the module name `Stack`, this updates the snippet to use the same.
1 parent 05418ea commit 4329429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/supervisor.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ defmodule Supervisor do
8282
supervisor will automatically start a new one, with the initial stack
8383
of `[:hello]`:
8484
85-
GenServer.call(MyStack, :pop)
85+
GenServer.call(Stack, :pop)
8686
#=> :hello
8787
8888
Supervisors support different strategies; in the example above, we

0 commit comments

Comments
 (0)