From 847c4c93a10b78a323b8d929321e9dcd2b9b5e83 Mon Sep 17 00:00:00 2001 From: timofey Date: Thu, 6 Jul 2023 03:23:51 +0000 Subject: [PATCH] `FallibleContext::unstuff` disambiguate `Fallible` --- src/rstd/fallible.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rstd/fallible.rs b/src/rstd/fallible.rs index 91ab300..2cfcb51 100644 --- a/src/rstd/fallible.rs +++ b/src/rstd/fallible.rs @@ -18,7 +18,9 @@ pub type FallibleWrapped<'a, Ctx, A, E> = Wrap<'a, A, FallibleMonad<'a, Ctx, E>> /// this is the preferred way to switch between [Wrapped] and [fallible]. pub trait FallibleContext<'a>: Context<'a> { /// Convert a fallible wrapped into a wrapped result. - fn unstuff(wa: WrapE<'a, A, E, Self::Fallible>) -> WrapC<'a, Result, Self> { + fn unstuff( + wa: WrapE<'a, A, E, >::Fallible>, + ) -> WrapC<'a, Result, Self> { Self::Fallible::unstuff(wa) }