diff options
author | Aleksey Kladov <[email protected]> | 2021-01-19 19:11:42 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-19 19:11:42 +0000 |
commit | cd21b0e9c1c99f777c6559ca850f2ea0d247b881 (patch) | |
tree | aa4371a5dbf0d6e91cea3f56b6f156e2bed075c9 /crates/syntax/src/ast | |
parent | 02edb4b31be02fdab9c970cafb38439f472c0696 (diff) |
:arrow_up: rowan
Diffstat (limited to 'crates/syntax/src/ast')
-rw-r--r-- | crates/syntax/src/ast/make.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/ast/make.rs b/crates/syntax/src/ast/make.rs index 9ffc3ae11..cc1717237 100644 --- a/crates/syntax/src/ast/make.rs +++ b/crates/syntax/src/ast/make.rs | |||
@@ -478,7 +478,7 @@ fn ast_from_text<N: AstNode>(text: &str) -> N { | |||
478 | } | 478 | } |
479 | 479 | ||
480 | fn unroot(n: SyntaxNode) -> SyntaxNode { | 480 | fn unroot(n: SyntaxNode) -> SyntaxNode { |
481 | SyntaxNode::new_root(n.green().clone()) | 481 | SyntaxNode::new_root(n.green().to_owned()) |
482 | } | 482 | } |
483 | 483 | ||
484 | pub mod tokens { | 484 | pub mod tokens { |