move Fallible
docs
This commit is contained in:
parent
bf92488b03
commit
53378dae98
@ -42,5 +42,7 @@ pub trait FunctorContextExt<'a>: FunctorContext<'a> {
|
||||
impl<'a, Ctx: FunctorContext<'a>> FunctorContextExt<'a> for Ctx {}
|
||||
|
||||
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>;
|
||||
}
|
||||
|
@ -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 _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>;
|
||||
|
||||
/// See [`Diagnostic`].
|
||||
|
Loading…
Reference in New Issue
Block a user