loosen Factory impl

This commit is contained in:
AF 2023-07-29 14:19:52 +00:00
parent f4da5f0d6a
commit 4ae569c5fa

View File

@ -40,9 +40,8 @@ where
}
}
impl<'a, Ctx: Context<'a>, F: FactoryBase<'a, Ctx> + WithParseMode> Factory<'a, Ctx> for F
impl<'a, Ctx: Context<'a>, F: ParseFactory<'a, Ctx> + WithParseMode> Factory<'a, Ctx> for F
where
F::WithMode: FactoryProxy<'a, Ctx, F = Self>,
F::Mtbl: MentionableTop<'a, Ctx>,
{
type _Mtbl = Self::Mtbl;