Skip to content

Commit 80e180e

Browse files
authored
Fix typo in GenServer docs (#10717)
1 parent e95eea4 commit 80e180e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/gen_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ defmodule GenServer do
601601
The return value is ignored.
602602
603603
`c:terminate/2` is called if the `GenServer` traps exits (using `Process.flag/2`)
604-
*and* the parent process sends and exit signal, or a callback (except `c:init/1`)
604+
*and* the parent process sends an exit signal, or a callback (except `c:init/1`)
605605
does one of the following:
606606
607607
* returns a `:stop` tuple

0 commit comments

Comments
 (0)