diff options
| author | onestacked <chrisi.schrefl@gmail.com> | 2022-09-30 17:16:59 +0200 |
|---|---|---|
| committer | onestacked <chrisi.schrefl@gmail.com> | 2022-09-30 17:16:59 +0200 |
| commit | 9a641a533cf3e560bd4133e01dd43250bb784ff5 (patch) | |
| tree | 81461e112e4785ffc07f782ce4c1c5c8c6cb4006 | |
| parent | b73241aa5b0eab8aebf1600c598180bbd33be31c (diff) | |
| download | rust-9a641a533cf3e560bd4133e01dd43250bb784ff5.tar.gz rust-9a641a533cf3e560bd4133e01dd43250bb784ff5.zip | |
Fixed Documentation for wrap_mut_2_imp
| -rw-r--r-- | library/core/src/ops/try_trait.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(crate) type ChangeOutputType<T, V> = <<T as Try>::Residual as Residual<V>>:: pub(crate) struct NeverShortCircuit<T>(pub T); impl<T> NeverShortCircuit<T> { - /// 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<A, B, F: ~const FnMut(A, B) -> T>( f: &mut F, |
