future
: remove #[cfg(doc)]
This commit is contained in:
parent
acd41fe880
commit
a64478d6f2
@ -1,9 +1,13 @@
|
||||
//! Async [Monad] based on [`Pin<Box<dyn Future>>`] (see: [`Pin`], [`Box::pin`], [`Future`]).
|
||||
//! This generally allows just using `.await` on wrapped instances.
|
||||
//! This generally allows just using [`.await`] on wrapped instances.
|
||||
//!
|
||||
//! For sync, see [`solo`].
|
||||
//!
|
||||
//! For fallible futures, see [`tryfuture`].
|
||||
//!
|
||||
//! [`solo`]: crate::func::instances::solo
|
||||
//! [`tryfuture`]: crate::func::instances::tryfuture
|
||||
//! [`.await`]: https://doc.rust-lang.org/std/keyword.await.html
|
||||
|
||||
use std::{future::Future, pin::Pin};
|
||||
|
||||
@ -13,8 +17,6 @@ use futures::{
|
||||
};
|
||||
|
||||
use crate::func::class_prelude::*;
|
||||
#[cfg(doc)]
|
||||
use crate::func::instances::*;
|
||||
|
||||
pub struct FutureInstance;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user