diff --git a/lib/elixir/lib/config.ex b/lib/elixir/lib/config.ex index dc9bdea2bbd..b18fbd271c3 100644 --- a/lib/elixir/lib/config.ex +++ b/lib/elixir/lib/config.ex @@ -227,7 +227,8 @@ defmodule Config do Returns the environment this configuration file is executed on. In Mix projects this function returns the environment this configuration - file is executed on. In releases, the environment when `mix release` ran. + file is executed on. + In releases, returns the `MIX_ENV` specified when running `mix release`. This is most often used to execute conditional code: