move Fallible docs

This commit is contained in:
AF 2023-07-06 03:15:00 +00:00
parent bf92488b03
commit 53378dae98
2 changed files with 2 additions and 2 deletions

View File

@ -42,5 +42,7 @@ pub trait FunctorContextExt<'a>: FunctorContext<'a> {
impl<'a, Ctx: FunctorContext<'a>> FunctorContextExt<'a> for Ctx {} impl<'a, Ctx: FunctorContext<'a>> FunctorContextExt<'a> for Ctx {}
trait FallibleCtx<'a>: FunctorContext<'a> { trait FallibleCtx<'a>: FunctorContext<'a> {
/// Type to allow improved support for [`Result`] evaluation.
/// This is important for async applications stopping early.
type Fallible: MonadFailAny<'a, T = Self::T>; type Fallible: MonadFailAny<'a, T = Self::T>;
} }

View File

@ -7,8 +7,6 @@ pub trait Context<'a>: FunctorContext<'a, T = Self::_Tm> {
/// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]). /// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]).
type _Tm: Monad<'a>; type _Tm: Monad<'a>;
/// Type to allow improved support for [`Result`] evaluation.
/// This is important for async applications stopping early.
type Fallible: MonadFailAny<'a, T = Self::T>; type Fallible: MonadFailAny<'a, T = Self::T>;
/// See [`Diagnostic`]. /// See [`Diagnostic`].