Pure::pure docs fix
This commit is contained in:
parent
1a5e9f15f3
commit
07bf80d7e6
@ -176,7 +176,7 @@ pub trait Monad: Applicative {
|
|||||||
/// Included for optimisation and clarity.
|
/// Included for optimisation and clarity.
|
||||||
/// Generally, [`Monad::bind`] should be enough implement it.
|
/// Generally, [`Monad::bind`] should be enough implement it.
|
||||||
/// See [`classes::stackless::StacklessClass::ibind`] for a generic, though less-than ideal, blanket implementation.
|
/// See [`classes::stackless::StacklessClass::ibind`] for a generic, though less-than ideal, blanket implementation.
|
||||||
/// On practice, you shouldn't be using [`Monad::bind`]/[`Applicative::pure`]/[`Functor::fmap`] here.
|
/// On practice, you shouldn't be using [`Monad::bind`]/[`Pure::pure`]/[`Functor::fmap`] here.
|
||||||
fn ibind<'a, A: 'a, B: 'a>(
|
fn ibind<'a, A: 'a, B: 'a>(
|
||||||
a: A,
|
a: A,
|
||||||
f: impl 'a + FnMut(A) -> Self::F<'a, IState<A, B>>,
|
f: impl 'a + FnMut(A) -> Self::F<'a, IState<A, B>>,
|
||||||
|
@ -20,7 +20,7 @@ pub struct WithLengthAndWidth<T> {
|
|||||||
pub enum RenderedCommon {
|
pub enum RenderedCommon {
|
||||||
/// No resolutions are involved in getting the value.
|
/// No resolutions are involved in getting the value.
|
||||||
///
|
///
|
||||||
/// Usually, a result of [`Applicative::pure`].
|
/// Usually, a result of [`Pure::pure`].
|
||||||
///
|
///
|
||||||
/// Represented as 0x0 by default.
|
/// Represented as 0x0 by default.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user