Skip to content

Commit

Permalink
Fixing dialyzer - not sure what the best approach is
Browse files Browse the repository at this point in the history
  • Loading branch information
sabiwara committed Dec 5, 2024
1 parent 75283cb commit e962aa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/benchee/benchmark/collect/return_value.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ defmodule Benchee.Benchmark.Collect.ReturnValue do
# Returns the value of the evaluated function.
# Used for pre checks.

@behaviour Benchee.Benchmark.Collect
# Does not strictly speaking implement Benchee.Benchmark.Collect because
# it does not return a metric.

@spec collect((-> any)) :: {any, any}
def collect(function) do
Expand Down

0 comments on commit e962aa4

Please sign in to comment.