fix type
Co-authored-by: fee1-dead <ent3rm4n@gmail.com>
This commit is contained in:
parent
4f07008419
commit
99c3dda066
@ -181,7 +181,7 @@ fn try_overloaded_call_step(
|
||||
// where F:Fn and so forth. In the particular case of types
|
||||
// like `f: &mut FnMut()`, if there is a call `f()`, we would
|
||||
// normally translate to `FnMut::call_mut(&mut f, ())`, but
|
||||
// that winds up requiring the user to potentially mark their
|
||||
// that winds up potentially requiring the user to mark their
|
||||
// variable as `mut` which feels unnecessary and unexpected.
|
||||
//
|
||||
// fn foo(f: &mut impl FnMut()) { f() }
|
||||
|
Loading…
Reference in New Issue
Block a user