Skip to content

Commit

Permalink
Update lib/nimble_parsec.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Dec 6, 2023
1 parent af3d753 commit 703ffd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nimble_parsec.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ defmodule NimbleParsec do
@spec bytes(pos_integer) :: t
@spec bytes(t, pos_integer) :: t
def bytes(combinator \\ empty(), count)
when is_combinator(combinator) and is_integer(count) and count > 0 do
when is_combinator(combinator) and is_integer(count) and count > 0 do
[{:bytes, count} | combinator]
end

Expand Down

0 comments on commit 703ffd8

Please sign in to comment.