Skip to content

Commit 32c929b

Browse files
authored
fix(supervisor): update documentation by call instead of cast (#12426)
1 parent 00e7245 commit 32c929b

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
GenServer.call(Counter, :get)
8383
#=> 0
8484
85-
GenServer.cast(Counter, {:bump, 3})
85+
GenServer.call(Counter, {:bump, 3})
8686
#=> 0
8787
8888
GenServer.call(Counter, :get)

0 commit comments

Comments
 (0)