Skip to content

Commit

Permalink
Fixup dialyzer warning under 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrudel committed Jan 25, 2025
1 parent 9e6ba26 commit 137ff68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bandit/trace.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ defmodule Bandit.Trace do

@impl GenServer
def init(opts) do
:telemetry.attach_many(self(), @events, &__MODULE__.handle_event/4, self())
_ = :telemetry.attach_many(self(), @events, &__MODULE__.handle_event/4, self())
{:ok, struct!(%__MODULE__{queue: :queue.new()}, opts)}
end

Expand Down

0 comments on commit 137ff68

Please sign in to comment.