Skip to content

Commit 5c79347

Browse files
TenaciousTortoisejosevalim
authored andcommitted
Typo in mix-otp/genserver (elixir-lang#751)
Updated the arity to GenServer.start_link/3
1 parent 72fba3e commit 5c79347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/mix-otp/genserver.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ defmodule KV.Registry do
9696
end
9797
```
9898

99-
The first function is `start_link/0`, which starts a new GenServer passing three arguments:
99+
The first function is `start_link/3`, which starts a new GenServer passing three arguments:
100100

101101
1. The module where the server callbacks are implemented, in this case `__MODULE__`, meaning the current module
102102

0 commit comments

Comments
 (0)