Fix typo "GreeNode" in syntax.md

This commit is contained in:
Hongxu Xu 2022-04-19 15:45:03 +08:00 committed by GitHub
parent b25e34837a
commit 4390a8ad7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>>,
}
```