1
Fork 0

Fix wording

This commit is contained in:
Esteban Küber 2022-11-03 14:10:08 -07:00
parent d687d46f68
commit e6e7a6db28
16 changed files with 20 additions and 20 deletions

View file

@ -403,7 +403,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
let mut span: MultiSpan = arg.span.into();
span.push_span_label(
arg.span,
"this type parameter takes ownership of the value".to_string(),
"this parameter takes ownership of the value".to_string(),
);
let descr = match node.fn_kind() {
Some(hir::intravisit::FnKind::ItemFn(..)) | None => "function",