Push a char
instead of a str
with len one into a String
This commit is contained in:
parent
e9920ef774
commit
fda71d676d
1 changed files with 1 additions and 1 deletions
|
@ -1211,7 +1211,7 @@ fn construct_place_string(tcx: TyCtxt<'_>, place: &Place<'tcx>) -> String {
|
||||||
ProjectionKind::Subslice => String::from("Subslice"),
|
ProjectionKind::Subslice => String::from("Subslice"),
|
||||||
};
|
};
|
||||||
if i != 0 {
|
if i != 0 {
|
||||||
projections_str.push_str(",");
|
projections_str.push(',');
|
||||||
}
|
}
|
||||||
projections_str.push_str(proj.as_str());
|
projections_str.push_str(proj.as_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue