loosen StaticPair
bounds for tuple
This commit is contained in:
parent
8ccbf41e84
commit
1f454fec16
@ -43,10 +43,11 @@ impl<ErrorA: Error, ErrorB: Error> Display for PairParseError<ErrorA, ErrorB> {
|
||||
|
||||
impl<ErrorA: Error, ErrorB: Error> Error for PairParseError<ErrorA, ErrorB> {}
|
||||
|
||||
impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>, B: Mentionable<'a, Ctx>> StaticPair<'a, Ctx>
|
||||
for (A, B)
|
||||
impl<'a, Ctx: Context<'a>, A: MentionableBase<'a, Ctx>, B: MentionableBase<'a, Ctx>>
|
||||
StaticPair<'a, Ctx> for (A, B)
|
||||
where
|
||||
A::Fctr: InlineableFactory<'a, Ctx>,
|
||||
B::Fctr: ParseMode,
|
||||
{
|
||||
type FactoryData = (Self::FA, Self::FB);
|
||||
type A = A;
|
||||
|
Loading…
Reference in New Issue
Block a user