Remove unnecessary sigils around Symbol::as_str()
calls.
This commit is contained in:
parent
8cddcd39ba
commit
056d48a2c9
104 changed files with 189 additions and 192 deletions
|
@ -366,7 +366,7 @@ fn collect_and_partition_mono_items<'tcx>(
|
|||
for cgu in codegen_units {
|
||||
tcx.prof.artifact_size(
|
||||
"codegen_unit_size_estimate",
|
||||
&cgu.name().as_str()[..],
|
||||
cgu.name().as_str(),
|
||||
cgu.size_estimate() as u64,
|
||||
);
|
||||
}
|
||||
|
@ -401,7 +401,7 @@ fn collect_and_partition_mono_items<'tcx>(
|
|||
cgus.dedup();
|
||||
for &(ref cgu_name, (linkage, _)) in cgus.iter() {
|
||||
output.push(' ');
|
||||
output.push_str(&cgu_name.as_str());
|
||||
output.push_str(cgu_name.as_str());
|
||||
|
||||
let linkage_abbrev = match linkage {
|
||||
Linkage::External => "External",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue