Auto merge of #87686 - matthiaskrgr:clippy_august_21_perf, r=jackh726
clippy::perf fixes
This commit is contained in:
commit
d77dcbc599
3 changed files with 7 additions and 7 deletions
|
@ -369,10 +369,10 @@ impl DebugCounters {
|
|||
}
|
||||
return format!("({})", self.format_counter_kind(counter_kind));
|
||||
}
|
||||
return self.format_counter_kind(counter_kind).to_string();
|
||||
return self.format_counter_kind(counter_kind);
|
||||
}
|
||||
}
|
||||
format!("#{}", operand.index().to_string())
|
||||
format!("#{}", operand.index())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue