From 06811cbdc8ca39f2fb0f1ad860cb971197d89935 Mon Sep 17 00:00:00 2001 From: Vasily Suvorov Date: Mon, 30 Sep 2024 15:41:35 +0200 Subject: [PATCH] Fix `typedoc` for `init_option` (#13870) Change `c:init/1` to`init/2` in the `typedoc`'s text --- lib/elixir/lib/supervisor.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elixir/lib/supervisor.ex b/lib/elixir/lib/supervisor.ex index 0307673567d..2507ef98e79 100644 --- a/lib/elixir/lib/supervisor.ex +++ b/lib/elixir/lib/supervisor.ex @@ -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}