diff --git a/src/rcore.rs b/src/rcore.rs index b49c688..602b567 100644 --- a/src/rcore.rs +++ b/src/rcore.rs @@ -111,7 +111,7 @@ pub trait FactoryBase<'a, Ctx: Context<'a>>: 'a + Send + Sync + Clone { type ParseError: 'a + Error; } -pub trait FactoryParse<'a, Ctx: Context<'a>>: FactoryBase<'a, Ctx> { +pub trait FactoryParse<'a, Ctx: Context<'a>>: FactoryModeParse<'a, Ctx> { /// See [`Deserializer`], [`Resolver`]. fn deserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Ctx, Self>; /// Called by finite stream parsers if there's any data left.