1
Fork 0

Merge commit 'd9c24d1b1e' into clippyup

This commit is contained in:
Philipp Krones 2023-07-17 10:19:29 +02:00
parent fdb2e363d3
commit d6d530fd0b
516 changed files with 5266 additions and 2562 deletions

View file

@ -37,7 +37,7 @@ pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, call_name: &str,
USELESS_ASREF,
expr.span,
&format!("this call to `{call_name}` does nothing"),
"try this",
"try",
snippet_with_applicability(cx, recvr.span, "..", &mut applicability).to_string(),
applicability,
);