diff --git a/lib/elixir/lib/range.ex b/lib/elixir/lib/range.ex index 7265b28966..c1cdcb03f9 100644 --- a/lib/elixir/lib/range.ex +++ b/lib/elixir/lib/range.ex @@ -192,7 +192,7 @@ defmodule Range do IO.warn_once( {__MODULE__, :new}, fn -> - "Range.new/2 has a default step of -1, please call Range.new/3 explicitly passing the step of -1 instead" + "Range.new/2 has a default step of -1 when last < first, please call Range.new/3 explicitly passing the step of -1 instead" end, 3 )