diff --git a/src/items.rs b/src/items.rs index 042aa81f3ce4..13450ea0f45e 100644 --- a/src/items.rs +++ b/src/items.rs @@ -546,7 +546,7 @@ impl<'a> FmtVisitor<'a> { // 1 = ',' rewrite_assign_rhs(&context, lhs, expr, shape.sub_width(1)?)? } else { - String::from(field.node.name.to_string()) + field.node.name.to_string() }, };