Skip to content

Commit 7fbb7a8

Browse files
VasiliySjosevalim
authored andcommitted
Fix typedoc for init_option (#13870)
Change `c:init/1` to`init/2` in the `typedoc`'s text
1 parent a2012c2 commit 7fbb7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/supervisor.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ defmodule Supervisor do
595595
@typedoc "The supervisor reference."
596596
@type supervisor :: pid | name | {atom, node}
597597

598-
@typedoc "Options given to `start_link/2` and `c:init/1`."
598+
@typedoc "Options given to `start_link/2` and `init/2`."
599599
@type init_option ::
600600
{:strategy, strategy}
601601
| {:max_restarts, non_neg_integer}

0 commit comments

Comments
 (0)