}
match kind {
- FnKind::ItemFn(.., header, _) => {
+ FnKind::ItemFn(.., header) => {
let attrs = cx.tcx.hir().attrs(hir_id);
if header.abi != Abi::Rust || requires_exact_signature(attrs) {
return;
|x| Cow::from(format!("change `{}` to", x)),
)
.as_ref(),
- suggestion.into(),
+ suggestion,
Applicability::Unspecified,
);
}
|x| Cow::from(format!("change `{}` to", x))
)
.as_ref(),
- suggestion.into(),
+ suggestion,
Applicability::Unspecified,
);
}