clippy::perf fixes
This commit is contained in:
parent
4961b107f2
commit
28ef4169cc
9 changed files with 13 additions and 13 deletions
|
@ -632,11 +632,11 @@ fn tooltip<'tcx>(
|
|||
for statement in statements {
|
||||
let source_range = source_range_no_file(tcx, &statement.source_info.span);
|
||||
text.push(format!(
|
||||
"\n{}{}: {}: {}",
|
||||
"\n{}{}: {}: {:?}",
|
||||
TOOLTIP_INDENT,
|
||||
source_range,
|
||||
statement_kind_name(&statement),
|
||||
format!("{:?}", statement)
|
||||
statement
|
||||
));
|
||||
}
|
||||
if let Some(term) = terminator {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue