diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2022-10-26 17:40:41 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2022-10-26 17:40:41 +0300 |
| commit | 8807fc4cc358fa2152b303df0caa2f5fc9efaa9d (patch) | |
| tree | da701483c74d2d402617c2482626b70aa2fff536 /crates/syntax/src/lib.rs | |
| parent | 26a413e015b7fef4c0edb51bda0d39ab499f4950 (diff) | |
:arrow_up: rust-analyzer
Diffstat (limited to 'crates/syntax/src/lib.rs')
| -rw-r--r-- | crates/syntax/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/lib.rs b/crates/syntax/src/lib.rs index 4f5e273a520..84c66b27e69 100644 --- a/crates/syntax/src/lib.rs +++ b/crates/syntax/src/lib.rs @@ -92,7 +92,7 @@ impl<T> Parse<T> { SyntaxNode::new_root(self.green.clone()) } pub fn errors(&self) -> &[SyntaxError] { - &*self.errors + &self.errors } } |
