Remove unnecessary sigils around Ident::as_str()
calls.
This commit is contained in:
parent
056d48a2c9
commit
b1c934ebb8
31 changed files with 41 additions and 42 deletions
|
@ -2444,7 +2444,7 @@ impl<'tcx> Debug for Rvalue<'tcx> {
|
|||
CtorKind::Fictive => {
|
||||
let mut struct_fmt = fmt.debug_struct(&name);
|
||||
for (field, place) in iter::zip(&variant_def.fields, places) {
|
||||
struct_fmt.field(&field.ident.as_str(), place);
|
||||
struct_fmt.field(field.ident.as_str(), place);
|
||||
}
|
||||
struct_fmt.finish()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue