diff options
Diffstat (limited to 'src/yellow/syntax.rs')
-rw-r--r-- | src/yellow/syntax.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yellow/syntax.rs b/src/yellow/syntax.rs index fa51e8d13..cc6122689 100644 --- a/src/yellow/syntax.rs +++ b/src/yellow/syntax.rs | |||
@@ -60,7 +60,7 @@ impl SyntaxNode { | |||
60 | for i in 0..n_children { | 60 | for i in 0..n_children { |
61 | res.push(SyntaxNode { | 61 | res.push(SyntaxNode { |
62 | root: self.root.clone(), | 62 | root: self.root.clone(), |
63 | red: (&*red.nth_child(i)).into(), | 63 | red: red.nth_child(i), |
64 | }); | 64 | }); |
65 | } | 65 | } |
66 | res | 66 | res |