From f8341503c778db92f46fa9f6f368a2013e4c0c1a Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 17 Sep 2019 19:59:22 +0200 Subject: Change invocation syntax of pest_consume::parser macro --- pest_consume/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pest_consume/src/lib.rs') diff --git a/pest_consume/src/lib.rs b/pest_consume/src/lib.rs index a161d3f..c1d62e5 100644 --- a/pest_consume/src/lib.rs +++ b/pest_consume/src/lib.rs @@ -32,7 +32,7 @@ //! struct CSVParser; //! //! // This is the other half of the parser, using pest_consume. -//! #[pest_consume::parser(CSVParser, Rule)] +//! #[pest_consume::parser] //! impl CSVParser { //! fn EOI(_input: Node) -> Result<()> { //! Ok(()) -- cgit v1.2.3