fix tuple indexing
This commit is contained in:
parent
2d5291c07b
commit
98100d3465
1 changed files with 2 additions and 2 deletions
|
@ -96,11 +96,11 @@ fn impl_quick_modifier_parser(ast: DeriveInput) -> TokenStream {
|
||||||
(
|
(
|
||||||
nom::combinator::value(
|
nom::combinator::value(
|
||||||
true,
|
true,
|
||||||
nom::character::complete::char(#name::#variant_name(Default::default()).token()[0])
|
nom::character::complete::char(#name::#variant_name(Default::default()).token().0)
|
||||||
),
|
),
|
||||||
nom::combinator::value(
|
nom::combinator::value(
|
||||||
false,
|
false,
|
||||||
nom::character::complete::char(#name::#variant_name(Default::default()).token()[1])
|
nom::character::complete::char(#name::#variant_name(Default::default()).token().1)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue