Skip to content

Commit 06811cb

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/supervisor.ex

Lines changed: 1 addition & 1 deletion
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)