From 9a641a533cf3e560bd4133e01dd43250bb784ff5 Mon Sep 17 00:00:00 2001 From: onestacked Date: Fri, 30 Sep 2022 17:16:59 +0200 Subject: [PATCH] Fixed Documentation for wrap_mut_2_imp --- library/core/src/ops/try_trait.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/ops/try_trait.rs b/library/core/src/ops/try_trait.rs index 33df9e6c5cd..84a69046807 100644 --- a/library/core/src/ops/try_trait.rs +++ b/library/core/src/ops/try_trait.rs @@ -379,7 +379,7 @@ pub trait Residual { pub(crate) struct NeverShortCircuit(pub T); impl NeverShortCircuit { - /// Wrap a binary `FnMut` to return its result wrapped in a `NeverShortCircuit`. + /// Implementation for building `ConstFnMutClosure` for wrapping the output of a ~const FnMut in a `NeverShortCircuit`. #[inline] pub const fn wrap_mut_2_imp T>( f: &mut F,