Skip to content

Commit 99c3dda

Browse files
lcnrfee1-dead
andauthored
fix type
Co-authored-by: fee1-dead <[email protected]>
1 parent 4f07008 commit 99c3dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/callee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
181181
// where F:Fn and so forth. In the particular case of types
182182
// like `f: &mut FnMut()`, if there is a call `f()`, we would
183183
// normally translate to `FnMut::call_mut(&mut f, ())`, but
184-
// that winds up requiring the user to potentially mark their
184+
// that winds up potentially requiring the user to mark their
185185
// variable as `mut` which feels unnecessary and unexpected.
186186
//
187187
// fn foo(f: &mut impl FnMut()) { f() }

0 commit comments

Comments
 (0)