diff --git a/lib/ex_example/executor.ex b/lib/ex_example/executor.ex index 63f5608..38dadc6 100644 --- a/lib/ex_example/executor.ex +++ b/lib/ex_example/executor.ex @@ -114,7 +114,7 @@ defmodule ExExample.Executor do # @doc """ # Given a result from a previous invocation and a copy function, I create a copy of the result. # """ - defp copy_result(%Cache.Result{} = result, {_, nil}), do: result + defp copy_result(%Cache.Result{} = result, {_, nil}), do: result defp copy_result(%Cache.Result{} = result, {module, func}) do %{result | result: apply(module, func, [result.result])}