diff --git a/src/rcore/modes.rs b/src/rcore/modes.rs
index 6ab69b8..a4fd908 100644
--- a/src/rcore/modes.rs
+++ b/src/rcore/modes.rs
@@ -307,7 +307,7 @@ impl Mode for RegularMode {
/// Tries to extend the value.
type ExtensionResult = Result;
- /// Allows extending the value.
+ /// Keeps the value.
type ExtensionSource = A;
fn bind(
diff --git a/src/rstd/inlining/modes.rs b/src/rstd/inlining/modes.rs
index 01314e6..52a193f 100644
--- a/src/rstd/inlining/modes.rs
+++ b/src/rstd/inlining/modes.rs
@@ -1,12 +1,16 @@
use super::*;
+/// [`Mode`] for [`InliningFactory`].
pub struct InliningMode;
impl Mode for InliningMode {
+ /// Keeps the parser.
type ParseSuccess = (A, I);
+ /// Always fails.
type ExtensionResult = E;
+ /// Discards the value.
type ExtensionSource = ();
fn bind(