Skip to content

Commit e2a0055

Browse files
authored
Merge pull request #149 from esambo/elixir_1_17_warning
Fix Elixir 1.17 compilation warning
2 parents e6b7195 + 7d96cc2 commit e2a0055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hammox/type_engine.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ defmodule Hammox.TypeEngine do
313313
end
314314

315315
def match_type(value, {:type, _, :range, [{:integer, _, low}, {:integer, _, high}]})
316-
when value in low..high do
316+
when value in low..high//1 do
317317
:ok
318318
end
319319

0 commit comments

Comments
 (0)