SpeculativeFail lifetime elision

This commit is contained in:
AF 2023-05-26 09:10:29 +00:00
parent dab754adf4
commit 73f8a2f356

View File

@ -328,7 +328,7 @@ pub trait MonadFailAnyExt<'a>: MonadFailAny<'a> {
wwa: WrapE<'a, WrapE<'a, A, E0, Self>, E1, Self>, wwa: WrapE<'a, WrapE<'a, A, E0, Self>, E1, Self>,
wwb: WrapE<'a, WrapE<'a, B, E0, Self>, E1, Self>, wwb: WrapE<'a, WrapE<'a, B, E0, Self>, E1, Self>,
) -> WrapE<'a, (A, B), Result<E0, E1>, Self> { ) -> WrapE<'a, (A, B), Result<E0, E1>, Self> {
<Self as speculative::SpeculativeFail<'a>>::speculative(wwa, wwb) <Self as speculative::SpeculativeFail>::speculative(wwa, wwb)
} }
} }