diff options
author | Nadrieril | 2019-09-17 19:59:22 +0200 |
---|---|---|
committer | Nadrieril | 2019-09-17 20:01:52 +0200 |
commit | f8341503c778db92f46fa9f6f368a2013e4c0c1a (patch) | |
tree | fad5157c68ff56cc215bff1e9b6b9be1b6acc0a4 /pest_consume/examples | |
parent | f040f12e67f4da03773c4b28934ceefeb1c5b8b8 (diff) |
Change invocation syntax of pest_consume::parser macro
Diffstat (limited to 'pest_consume/examples')
-rw-r--r-- | pest_consume/examples/csv/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pest_consume/examples/csv/main.rs b/pest_consume/examples/csv/main.rs index a045eb4..88621db 100644 --- a/pest_consume/examples/csv/main.rs +++ b/pest_consume/examples/csv/main.rs @@ -15,7 +15,7 @@ type Node<'i> = pest_consume::Node<'i, Rule, ()>; #[grammar = "../examples/csv/csv.pest"] struct CSVParser; -#[pest_consume::parser(CSVParser, Rule)] +#[pest_consume::parser] impl CSVParser { fn EOI(_input: Node) -> Result<()> { Ok(()) |