⬆️ rowan

This commit is contained in:
Aleksey Kladov 2021-01-19 22:11:42 +03:00
parent 02edb4b31b
commit cd21b0e9c1
5 changed files with 11 additions and 36 deletions

View file

@ -478,7 +478,7 @@ fn ast_from_text<N: AstNode>(text: &str) -> N {
}
fn unroot(n: SyntaxNode) -> SyntaxNode {
SyntaxNode::new_root(n.green().clone())
SyntaxNode::new_root(n.green().to_owned())
}
pub mod tokens {