1
Fork 0

Change wording of note

This commit is contained in:
Aaron Hill 2021-01-08 14:57:28 -05:00
parent de90afc72e
commit 20979aad77
No known key found for this signature in database
GPG key ID: B4087E510E98B164
14 changed files with 20 additions and 20 deletions

View file

@ -218,7 +218,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
if self.fn_self_span_reported.insert(self_arg.span) {
err.span_note(
self_arg.span,
&format!("this function consumes the receiver `self` by taking ownership of it, which moves {}", place_name)
&format!("this function takes ownership of the receiver `self`, which moves {}", place_name)
);
}
}