From 07b8a99f340f304cb649bc43559b5fc87ec39ad9 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 18 Dec 2023 15:59:55 -0600 Subject: [PATCH] docs: Include 'Parser::void' --- src/combinator/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/combinator/mod.rs b/src/combinator/mod.rs index dede3596..db99bf1b 100644 --- a/src/combinator/mod.rs +++ b/src/combinator/mod.rs @@ -54,6 +54,7 @@ //! - [`cond`]: Conditional combinator. Wraps another parser and calls it if the condition is met //! - [`Parser::flat_map`]: method to map a new parser from the output of the first parser, then apply that parser over the rest of the input //! - [`Parser::value`]: method to replace the result of a parser +//! - [`Parser::void`]: method to discard the result of a parser //! - [`Parser::map`]: method to map a function on the result of a parser //! - [`Parser::and_then`]: Applies a second parser over the output of the first one //! - [`Parser::verify_map`]: Maps a function returning an `Option` on the output of a parser