From 37a38f5c2ad22e47394c6305ec6dcfe6c6333292 Mon Sep 17 00:00:00 2001 From: timofey Date: Sun, 30 Jul 2023 13:40:50 +0000 Subject: [PATCH] `Mode` docs `tuple` link --- src/rcore/modes.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rcore/modes.rs b/src/rcore/modes.rs index 526e441..a1cb1de 100644 --- a/src/rcore/modes.rs +++ b/src/rcore/modes.rs @@ -10,9 +10,10 @@ pub type ModeResult = Result<::ParseSuccess, E>; /// | [`Mode`] | [`Mode::ParseSuccess`] | [`Mode::ExtensionResult`] | [`Mode::ExtensionSource`] | /// |------------------|------------------------------|---------------------------------|------------------------------| /// | [`RegularMode`] | `A` | [`Result`] | `A` | -/// | [`InliningMode`] | `(A, I)` | `E` | [`()`] | +/// | [`InliningMode`] | [`(A, I)`] | `E` | [`()`] | /// /// [`InliningMode`]: crate::rstd::inlining::InliningMode +/// [`(A, I)`]: tuple /// [`()`]: unit pub trait Mode { /// Successful parsing, may countain the parser itself