Skip to content

Typo in Supervisor's typedoc for init_option() #13864

Closed
@VasiliyS

Description

@VasiliyS

Elixir and Erlang/OTP versions

1.17.3

Operating system

all

Current behavior

Documentation says: (

@typedoc "Options given to `start_link/2` and `c:init/1`."
)

Expected behavior

It should be referring init/2 - e.g. Supervisor.init(children, options), not the callback (which takes an arbitrary init_arg, passed from start_link/3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions