diff --git a/src/rcore/modes.rs b/src/rcore/modes.rs index c724345..87e4b8b 100644 --- a/src/rcore/modes.rs +++ b/src/rcore/modes.rs @@ -36,7 +36,7 @@ pub trait Mode { /// Do something with the successfully parsed value, potentially failing. /// - /// Useful for chaining parsing after [`InliningFactory`]. + /// Useful for for wrappers and chaining parsing after [`InliningFactory`]. /// /// See also [`Mode::map`] /// @@ -48,6 +48,8 @@ pub trait Mode { /// Map the successfully parsed value. /// + /// Useful for for wrappers. + /// /// See also [`Mode::bind`] fn map( s: Self::ParseSuccess, @@ -64,7 +66,7 @@ pub trait Mode { /// Do something with the extension result, potentially failing. /// - /// Useful for chaining extension after [`InliningFactory`]. + /// Useful for wrappers and chaining extension after [`InliningFactory`]. /// /// [`InliningFactory`]: crate::rstd::inlining::InliningFactory fn xbind(