diff --git a/docs/ast-pattern.md b/docs/ast-pattern.md index 77db62996..1af24712d 100644 --- a/docs/ast-pattern.md +++ b/docs/ast-pattern.md @@ -44,7 +44,7 @@ The pattern langauge is structured around AST nodes of the Syntax (currently) always begins with a valid node type and than constraints on its children within `{ child_name = child_pattern }` groups. -Each node can have 2 kinds of children: Attributes and descedants. +Each node can have 2 kinds of children: Attributes and descendants. Attributes are values, such as selectors for sends, constant and variable identifiers.