Skip to content

Commit 9415b37

Browse files
authored
Update Mix.Config mentions (#13115)
ExDoc main emitted these warnings on Elixir main: ``` warning: documentation references module "Mix.Config" but it is hidden │ 49 │ `Mix.Config`, which was specific to Mix and has been deprecated. │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ └─ lib/elixir/lib/config.ex:49: Config (module) warning: documentation references module "Mix.Config" but it is hidden │ 51 │ You can leverage `Config` instead of `Mix.Config` in three steps. The first │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ └─ lib/elixir/lib/config.ex:51: Config (module) ```
1 parent 0352aba commit 9415b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/config.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ defmodule Config do
4646
## Migrating from `use Mix.Config`
4747
4848
The `Config` module in Elixir was introduced in v1.9 as a replacement to
49-
`Mix.Config`, which was specific to Mix and has been deprecated.
49+
`use Mix.Config`, which was specific to Mix and has been deprecated.
5050
51-
You can leverage `Config` instead of `Mix.Config` in three steps. The first
51+
You can leverage `Config` instead of `use Mix.Config` in three steps. The first
5252
step is to replace `use Mix.Config` at the top of your config files by
5353
`import Config`.
5454

0 commit comments

Comments
 (0)