This commit is contained in:
Lukas Wirth 2022-10-19 21:17:11 +02:00
parent 40cbeb5b3d
commit 9d3e616f82
6 changed files with 33 additions and 29 deletions

View file

@ -92,7 +92,7 @@ impl<T> Parse<T> {
SyntaxNode::new_root(self.green.clone())
}
pub fn errors(&self) -> &[SyntaxError] {
&*self.errors
&self.errors
}
}