From 703ffd8a58a022bfd127f0aa8d5b091039b75889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 6 Dec 2023 04:52:10 +0100 Subject: [PATCH] Update lib/nimble_parsec.ex --- lib/nimble_parsec.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nimble_parsec.ex b/lib/nimble_parsec.ex index 1bb2ee5..27e22d6 100644 --- a/lib/nimble_parsec.ex +++ b/lib/nimble_parsec.ex @@ -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