Fixed Documentation for wrap_mut_2_imp
This commit is contained in:
parent
b73241aa5b
commit
9a641a533c
@ -379,7 +379,7 @@ pub trait Residual<O> {
|
|||||||
pub(crate) struct NeverShortCircuit<T>(pub T);
|
pub(crate) struct NeverShortCircuit<T>(pub T);
|
||||||
|
|
||||||
impl<T> NeverShortCircuit<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]
|
#[inline]
|
||||||
pub const fn wrap_mut_2_imp<A, B, F: ~const FnMut(A, B) -> T>(
|
pub const fn wrap_mut_2_imp<A, B, F: ~const FnMut(A, B) -> T>(
|
||||||
f: &mut F,
|
f: &mut F,
|
||||||
|
Loading…
Reference in New Issue
Block a user