From b216fcfe4698107f8b266bdf58de690c58635a74 Mon Sep 17 00:00:00 2001 From: timofey Date: Sun, 30 Jul 2023 15:48:05 +0000 Subject: [PATCH] `RegularMode` `type`s docs --- src/rcore/modes.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rcore/modes.rs b/src/rcore/modes.rs index 9d08573..6ab69b8 100644 --- a/src/rcore/modes.rs +++ b/src/rcore/modes.rs @@ -301,10 +301,13 @@ where pub struct RegularMode; impl Mode for RegularMode { + /// Discards the parser. type ParseSuccess = A; + /// Tries to extend the value. type ExtensionResult = Result; + /// Allows extending the value. type ExtensionSource = A; fn bind(