From 7c1fc8bacd2529409702151151772d07b51eded0 Mon Sep 17 00:00:00 2001 From: timofey <tim@ongoteam.yaconnect.com> Date: Thu, 6 Jul 2023 03:39:49 +0000 Subject: [PATCH] `FallibleContext` imply `FallibleCtx` --- src/rstd/fallible.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rstd/fallible.rs b/src/rstd/fallible.rs index 4660954..c6a3fd8 100644 --- a/src/rstd/fallible.rs +++ b/src/rstd/fallible.rs @@ -10,7 +10,7 @@ use super::*; /// /// Until either Rust type system or [`crate::func`] take serious changes, /// this is the preferred way to switch between [Wrapped] and [fallible]. -pub trait FallibleContext<'a>: Context<'a> { +pub trait FallibleContext<'a>: FallibleCtx<'a> { /// Convert a fallible wrapped into a wrapped result. fn unstuff<A: 'a, E: 'a>(wa: FallibleWrapped<'a, Self, A, E>) -> WrapC<'a, Result<A, E>, Self> { <Self as FallibleCtx<'a>>::Fallible::unstuff(wa)