mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-16 23:36:13 +00:00
Simplify
This commit is contained in:
parent
40cbeb5b3d
commit
9d3e616f82
6 changed files with 33 additions and 29 deletions
|
@ -92,7 +92,7 @@ impl<T> Parse<T> {
|
|||
SyntaxNode::new_root(self.green.clone())
|
||||
}
|
||||
pub fn errors(&self) -> &[SyntaxError] {
|
||||
&*self.errors
|
||||
&self.errors
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue