Remove unnecessary String::from()
This commit is contained in:
parent
d66161c6a3
commit
39ca7db7c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue