diff options
Diffstat (limited to 'lib/mix/lib/mix/tasks/profile.fprof.ex')
-rw-r--r-- | lib/mix/lib/mix/tasks/profile.fprof.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/lib/mix/tasks/profile.fprof.ex b/lib/mix/lib/mix/tasks/profile.fprof.ex index 7dbc80b8e..f2431bdc4 100644 --- a/lib/mix/lib/mix/tasks/profile.fprof.ex +++ b/lib/mix/lib/mix/tasks/profile.fprof.ex @@ -180,7 +180,7 @@ defmodule Mix.Tasks.Profile.Fprof do usage for larger workloads. """ - @spec profile((-> any()), keyword()) :: any() + @spec profile((-> result), keyword()) :: result when result: any() def profile(fun, opts \\ []) when is_function(fun, 0) do Mix.ensure_application!(:runtime_tools) Mix.ensure_application!(:tools) |