From def1236e8108887b5844b53d156dd094257f388e Mon Sep 17 00:00:00 2001 From: timofey Date: Thu, 6 Jul 2023 03:40:24 +0000 Subject: [PATCH] simplify `FallibleContext` --- src/rstd/fallible.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rstd/fallible.rs b/src/rstd/fallible.rs index c6a3fd8..60c9641 100644 --- a/src/rstd/fallible.rs +++ b/src/rstd/fallible.rs @@ -13,12 +13,12 @@ use super::*; pub trait FallibleContext<'a>: FallibleCtx<'a> { /// Convert a fallible wrapped into a wrapped result. fn unstuff(wa: FallibleWrapped<'a, Self, A, E>) -> WrapC<'a, Result, Self> { - >::Fallible::unstuff(wa) + Self::Fallible::unstuff(wa) } /// Convert a wrapped result into a fallible wrapped. fn stuff(fa: WrapC<'a, Result, Self>) -> FallibleWrapped<'a, Self, A, E> { - >::Fallible::stuff(fa) + Self::Fallible::stuff(fa) } }