From 032c4ea9b3472e2768076fa0635ce2b42262a17a Mon Sep 17 00:00:00 2001 From: timofey Date: Tue, 23 May 2023 12:52:27 +0000 Subject: [PATCH] `pub FutureFailAny` --- src/func/classes.rs | 4 ++-- src/func/classes/tryfuture.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/func/classes.rs b/src/func/classes.rs index e283e65..0094bd6 100644 --- a/src/func/classes.rs +++ b/src/func/classes.rs @@ -6,11 +6,11 @@ //! //! For the simplest form (even ChatGPT can understand it! lol) of [`Monad`], see [`solo`][^production]. //! -//! For async support, see [`future`][^production][^research]. +//! For async support, see [`future`][^production][^research] and [`tryfuture`][^production][^research]. //! //! For "creative" execution models, see [`lazy`][^research] and [`stackless`][^research]. //! -//! To see when not to use [Monad]s, see [`composition`][^research]. +//! For combining monads, see [`composition`][^research]. //! //! [^production]: classes expected to be used in production. //! diff --git a/src/func/classes/tryfuture.rs b/src/func/classes/tryfuture.rs index 177e620..0bbcb57 100644 --- a/src/func/classes/tryfuture.rs +++ b/src/func/classes/tryfuture.rs @@ -181,7 +181,7 @@ impl Fail for TryFutureClass { } } -struct FutureFailAny; +pub struct FutureFailAny; impl MonadFailAny for FutureFailAny { type W = TryFutureClass;