We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8723ce9 commit 60042cbCopy full SHA for 60042cb
rust/kcl-lib/src/unparser.rs
@@ -60,7 +60,7 @@ impl Program {
60
for attr in body_item.get_attrs() {
61
result.push_str(&attr.recast(options, indentation_level));
62
}
63
- result.push_str(&match body_item.clone() {
+ result.push_str(&match body_item {
64
BodyItem::ImportStatement(stmt) => stmt.recast(options, indentation_level),
65
BodyItem::ExpressionStatement(expression_statement) => {
66
expression_statement
0 commit comments