Skip to content

Commit 345deb3

Browse files
authored
Align GenServer.call/3 timeout doc to specs (#15568)
1 parent b7e22ba commit 345deb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elixir/lib/gen_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ defmodule GenServer do
11581158
11591159
## Timeouts
11601160
1161-
`timeout` is an integer greater than zero which specifies how many
1161+
`timeout` is a non-negative integer which specifies how many
11621162
milliseconds to wait for a reply, or the atom `:infinity` to wait
11631163
indefinitely. The default value is `5000`. If no reply is received within
11641164
the specified time, the function call fails and the caller exits. If the

0 commit comments

Comments
 (0)