Skip to content

Commit 9a641a5

Browse files
committed
Fixed Documentation for wrap_mut_2_imp
1 parent b73241a commit 9a641a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/try_trait.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ pub(crate) type ChangeOutputType<T, V> = <<T as Try>::Residual as Residual<V>>::
379379
pub(crate) struct NeverShortCircuit<T>(pub T);
380380

381381
impl<T> NeverShortCircuit<T> {
382-
/// Wrap a binary `FnMut` to return its result wrapped in a `NeverShortCircuit`.
382+
/// Implementation for building `ConstFnMutClosure` for wrapping the output of a ~const FnMut in a `NeverShortCircuit`.
383383
#[inline]
384384
pub const fn wrap_mut_2_imp<A, B, F: ~const FnMut(A, B) -> T>(
385385
f: &mut F,

0 commit comments

Comments
 (0)