1
Fork 0

clippy::perf fixes

This commit is contained in:
Matthias Krüger 2021-08-01 21:26:29 +02:00
parent 4e21ef2a4e
commit a953574ddb
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())
}
}