diff options
| -rw-r--r-- | src/parcom/right.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parcom/right.cr b/src/parcom/right.cr index 202754d..a0489b1 100644 --- a/src/parcom/right.cr +++ b/src/parcom/right.cr @@ -7,7 +7,7 @@ module Parcom # This parser behaves the same as `Plus`, but only returns the result # of the second parser. class Right(T, V, U) < Parser(T, U) - @p : Map(T, {V, U}, V) + @p : Map(T, {V, U}, U) # Accepts the two parsers to use, in order. def initialize(p1 : Parser(T, V), p2 : Parser(T, U)) |
