1
Fork 0

Add a few more comments

This commit is contained in:
Michael Goulet 2024-03-19 12:55:26 -04:00
parent f1fef64e19
commit 541858ed78
3 changed files with 14 additions and 1 deletions

View file

@ -101,7 +101,7 @@ pub enum InstanceDef<'tcx> {
// because the signature of `<{async fn} as FnMut>::call_mut` is:
// `fn(&mut self, args: A) -> <Self as FnOnce>::Output`, that is to say
// that it returns the `FnOnce`-flavored coroutine but takes the closure
// by ref (and similarly for `Fn::call`).
// by mut ref (and similarly for `Fn::call`).
receiver_by_ref: bool,
},