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 00b4300 commit cef8f9fCopy full SHA for cef8f9f
rust/kcl-lib/src/unparser.rs
@@ -794,7 +794,7 @@ impl Node<PipeExpression> {
794
.map(|(index, statement)| {
795
let indentation = options.get_indentation(indentation_level + 1);
796
let mut s = statement.recast(options, indentation_level + 1, ExprContext::Pipe);
797
- let non_code_meta = self.non_code_meta.clone();
+ let non_code_meta = &self.non_code_meta;
798
if let Some(non_code_meta_value) = non_code_meta.non_code_nodes.get(&index) {
799
for val in non_code_meta_value {
800
let formatted = if val.end == self.end {
0 commit comments