From 10193ccd5ba72a848ec1ab39b94f994f7852b319 Mon Sep 17 00:00:00 2001 From: timofey <tim@ongoteam.yaconnect.com> Date: Thu, 6 Jul 2023 03:42:12 +0000 Subject: [PATCH] `FallibleContext` docs --- src/rstd/fallible.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rstd/fallible.rs b/src/rstd/fallible.rs index d1d5fbb..225e4a0 100644 --- a/src/rstd/fallible.rs +++ b/src/rstd/fallible.rs @@ -6,10 +6,9 @@ use crate::func::context::*; use super::*; -/// Extention trait for simpler conversion between [`FunctorContext::T`] and [`Context::Fallible`]. +/// Extention trait for simpler conversion between [`FunctorContext::T`] and [`FallibleCtx::Fallible`]. /// -/// Until either Rust type system or [`crate::func`] take serious changes, -/// this is the preferred way to switch between [Wrapped] and [fallible]. +/// this is the preferred way to switch between [WrapC] and [FallibleWrapped]. 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> {