mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-03 09:07:26 +00:00
remove lifetime from syntax node text
This commit is contained in:
parent
0025299370
commit
d92a88bf09
3 changed files with 15 additions and 14 deletions
|
@ -68,7 +68,7 @@ impl SyntaxNode {
|
|||
}
|
||||
|
||||
pub fn text(&self) -> SyntaxText {
|
||||
SyntaxText::new(self)
|
||||
SyntaxText::new(self.clone())
|
||||
}
|
||||
|
||||
pub fn parent(&self) -> Option<SyntaxNode> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue