ModeResult doc

This commit is contained in:
AF 2023-07-30 10:47:41 +00:00
parent f2533813ac
commit 8ef8aaf156

View File

@ -2,6 +2,7 @@ use std::marker::PhantomData;
use super::*; use super::*;
/// [`Mode`] equivalent of [`ParseResult`].
pub type ModeResult<M, A, E, I> = Result<<M as Mode>::ParseSuccess<A, I>, E>; pub type ModeResult<M, A, E, I> = Result<<M as Mode>::ParseSuccess<A, I>, E>;
/// Mode of parsing. /// Mode of parsing.