Skip to content

Commit 0bb774b

Browse files
authored
Clarify name registration (#11327)
1 parent 2e31949 commit 0bb774b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/gen_server.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ defmodule GenServer do
159159
a name on start via the `:name` option. Registered names are also
160160
automatically cleaned up on termination. The supported values are:
161161
162-
* an atom - the GenServer is registered locally with the given name
163-
using `Process.register/2`.
162+
* an atom - the GenServer is registered locally (to the current node)
163+
with the given name using `Process.register/2`.
164164
165165
* `{:global, term}` - the GenServer is registered globally with the given
166166
term using the functions in the [`:global` module](`:global`).

0 commit comments

Comments
 (0)