Pure::pure docs fix

This commit is contained in:
AF 2023-04-24 17:23:17 +00:00
parent 1a5e9f15f3
commit 07bf80d7e6
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ pub trait Monad: Applicative {
/// Included for optimisation and clarity.
/// Generally, [`Monad::bind`] should be enough implement it.
/// 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>(
a: A,
f: impl 'a + FnMut(A) -> Self::F<'a, IState<A, B>>,

View File

@ -20,7 +20,7 @@ pub struct WithLengthAndWidth<T> {
pub enum RenderedCommon {
/// 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.
///