Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
m1dnight committed Dec 13, 2024
1 parent 3543b9f commit f500d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_example/executor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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])}
Expand Down

0 comments on commit f500d84

Please sign in to comment.