Fix typo "GreeNode" in syntax.md
This commit is contained in:
parent
b25e34837a
commit
4390a8ad7c
@ -220,7 +220,7 @@ type SyntaxNode = Arc<SyntaxData>;
|
||||
struct SyntaxData {
|
||||
offset: usize,
|
||||
parent: Option<SyntaxNode>,
|
||||
green: Arc<GreeNode>,
|
||||
green: Arc<GreenNode>,
|
||||
}
|
||||
|
||||
impl SyntaxNode {
|
||||
@ -302,7 +302,7 @@ type SyntaxNode = Arc<SyntaxData>;
|
||||
struct SyntaxData {
|
||||
offset: usize,
|
||||
parent: Option<SyntaxNode>,
|
||||
green: Arc<GreeNode>,
|
||||
green: Arc<GreenNode>,
|
||||
children: Vec<OnceCell<SyntaxNode>>,
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user