Skip to content

Commit

Permalink
Fix typedoc for init_option (#13870)
Browse files Browse the repository at this point in the history
Change `c:init/1` to`init/2` in the `typedoc`'s text
  • Loading branch information
VasiliyS authored Sep 30, 2024
1 parent 7a6b354 commit 06811cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ defmodule Supervisor do
@typedoc "The supervisor reference."
@type supervisor :: pid | name | {atom, node}

@typedoc "Options given to `start_link/2` and `c:init/1`."
@typedoc "Options given to `start_link/2` and `init/2`."
@type init_option ::
{:strategy, strategy}
| {:max_restarts, non_neg_integer}
Expand Down

0 comments on commit 06811cb

Please sign in to comment.