diff --git a/src/rcore/modes.rs b/src/rcore/modes.rs index 48ca48a..0c82092 100644 --- a/src/rcore/modes.rs +++ b/src/rcore/modes.rs @@ -221,6 +221,7 @@ impl WithParseMode for T { type WithMode = WithMode::Mode>; } +/// Used as [`WithParseMode::WithMode`]. pub struct WithMode(PhantomData, T); impl<'a, Ctx: Context<'a>, F: FactoryModeParse<'a, Ctx>> FactoryParse<'a, Ctx> for F {