Auto merge of #12029 - xuhongxu96:master, r=lnicola

Fix typo "GreeNode" in syntax.md
This commit is contained in:
bors 2022-04-19 07:57:12 +00:00
commit e3ec87730a

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