mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +00:00
⬆️ rowan
This commit is contained in:
parent
02edb4b31b
commit
cd21b0e9c1
5 changed files with 11 additions and 36 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue