diff options
Diffstat (limited to 'vendor/toml_edit/src/parser/macros.rs')
-rw-r--r-- | vendor/toml_edit/src/parser/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/toml_edit/src/parser/macros.rs b/vendor/toml_edit/src/parser/macros.rs index 591b2f7b1..93050f5ad 100644 --- a/vendor/toml_edit/src/parser/macros.rs +++ b/vendor/toml_edit/src/parser/macros.rs @@ -2,10 +2,10 @@ macro_rules! dispatch { ($match_parser: expr; $( $pat:pat $(if $pred:expr)? => $expr: expr ),+ $(,)? ) => { move |i| { - let (i, initial) = $match_parser.parse(i)?; + let (i, initial) = $match_parser.parse_next(i)?; match initial { $( - $pat $(if $pred)? => $expr.parse(i), + $pat $(if $pred)? => $expr.parse_next(i), )* } } |