mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Auto merge of #12029 - xuhongxu96:master, r=lnicola
Fix typo "GreeNode" in syntax.md
This commit is contained in:
commit
e3ec87730a
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ type SyntaxNode = Arc<SyntaxData>;
|
||||||
struct SyntaxData {
|
struct SyntaxData {
|
||||||
offset: usize,
|
offset: usize,
|
||||||
parent: Option<SyntaxNode>,
|
parent: Option<SyntaxNode>,
|
||||||
green: Arc<GreeNode>,
|
green: Arc<GreenNode>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SyntaxNode {
|
impl SyntaxNode {
|
||||||
|
@ -302,7 +302,7 @@ type SyntaxNode = Arc<SyntaxData>;
|
||||||
struct SyntaxData {
|
struct SyntaxData {
|
||||||
offset: usize,
|
offset: usize,
|
||||||
parent: Option<SyntaxNode>,
|
parent: Option<SyntaxNode>,
|
||||||
green: Arc<GreeNode>,
|
green: Arc<GreenNode>,
|
||||||
children: Vec<OnceCell<SyntaxNode>>,
|
children: Vec<OnceCell<SyntaxNode>>,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue