1
Fork 0

Auto merge of #87686 - matthiaskrgr:clippy_august_21_perf, r=jackh726

clippy::perf fixes
This commit is contained in:
bors 2021-08-20 13:41:42 +00:00
commit d77dcbc599
3 changed files with 7 additions and 7 deletions

View file

@ -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())
}
}