diff options
author | David Sulc <david@davidsulc.com> | 2018-05-08 08:58:10 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2018-05-08 08:58:10 +0200 |
commit | 27a869bda223fbbab5325124995cf1c8f186904d (patch) | |
tree | 211302fbd0881f88a66b2cf4840f3957f52e814c | |
parent | 33e161fe7382ba82624a1db3d40f1f7380c9ad64 (diff) | |
download | elixir-27a869bda223fbbab5325124995cf1c8f186904d.tar.gz |
Fixed `Supervisor.child_spec/2` param name used in docs (#7657)
The second arg is now `overrides`, not `config`.
-rw-r--r-- | lib/elixir/lib/supervisor.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elixir/lib/supervisor.ex b/lib/elixir/lib/supervisor.ex index 4c116cfb3..3c81d3507 100644 --- a/lib/elixir/lib/supervisor.ex +++ b/lib/elixir/lib/supervisor.ex @@ -716,8 +716,8 @@ defmodule Supervisor do If a module is given, the specification is retrieved by calling `module.child_spec(arg)`. - After the child specification is retrieved, the fields on `config` - are directly applied on the child spec. If `config` has keys that + After the child specification is retrieved, the fields on `overrides` + are directly applied on the child spec. If `overrides` has keys that do not map to any child specification field, an error is raised. See the "Child specification" section in the module documentation |