diff options
-rw-r--r-- | lib/elixir/lib/float.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/float.ex b/lib/elixir/lib/float.ex index aff07e263..35d644efa 100644 --- a/lib/elixir/lib/float.ex +++ b/lib/elixir/lib/float.ex @@ -401,7 +401,7 @@ defmodule Float do """ @doc since: "1.4.0" - @spec ratio(float) :: {pos_integer | neg_integer, pos_integer} + @spec ratio(float) :: {integer, pos_integer} def ratio(0.0), do: {0, 1} def ratio(float) when is_float(float) do |