Skip to content

Commit 1d9d560

Browse files
authored
Remove inaccurate note from Node.set_cookie/2 doc (#15566)
1 parent 6957e15 commit 1d9d560

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/elixir/lib/node.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ defmodule Node do
338338
339339
The default node is `Node.self/0`, the local node. If `node` is the local node,
340340
the function also sets the cookie of all other unknown nodes to `cookie`.
341-
342-
This function will raise `FunctionClauseError` if the given `node` is not alive.
343341
"""
344342
@spec set_cookie(t, atom) :: true
345343
def set_cookie(node \\ Node.self(), cookie) when is_atom(cookie) do

0 commit comments

Comments
 (0)