From 07bf80d7e6488abd066dd372ace91592e4037559 Mon Sep 17 00:00:00 2001 From: timofey Date: Mon, 24 Apr 2023 17:23:17 +0000 Subject: [PATCH] Pure::pure docs fix --- src/func.rs | 2 +- src/std/tracing/rendered.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/func.rs b/src/func.rs index d87c00f..d22e058 100644 --- a/src/func.rs +++ b/src/func.rs @@ -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>, diff --git a/src/std/tracing/rendered.rs b/src/std/tracing/rendered.rs index 1deb7ed..3e30a5f 100644 --- a/src/std/tracing/rendered.rs +++ b/src/std/tracing/rendered.rs @@ -20,7 +20,7 @@ pub struct WithLengthAndWidth { 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. ///