diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-19 19:19:24 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-19 19:19:24 +0000 |
commit | 63f509f4924e7448b9131514bbdd7a4da5292cd1 (patch) | |
tree | 51995d74a741c61de1d717116475847eb46a74ad /crates/syntax/src/ast | |
parent | f647e134a785245579da3de04235887a5e958c9b (diff) | |
parent | cd21b0e9c1c99f777c6559ca850f2ea0d247b881 (diff) |
Merge #7352
7352: :arrow_up: rowan r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
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 { |