Skip to content

Commit

Permalink
Fix the docs of Supervisor.start_link/2 (elixir-lang#5411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ljzn authored and whatyouhide committed Nov 4, 2016
1 parent 0ee02e9 commit 009a291
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 @@ -295,7 +295,7 @@ defmodule Supervisor do
end

@doc """
Starts a supervisor module with the given `arg`.
Starts a supervisor process with the given `module` and `arg`.
To start the supervisor, the `c:init/1` callback will be invoked in the given
`module`, with `arg` as its argument. The `c:init/1` callback must return a
Expand Down

0 comments on commit 009a291

Please sign in to comment.