chore(docs): Fix misprints

This commit is contained in:
Andrew Hlynskyi 2021-09-22 00:19:03 +03:00
parent 51aa169387
commit 28a121b532
2 changed files with 2 additions and 2 deletions

View file

@ -36,4 +36,4 @@ The `tree-sitter` binary itself has no dependencies, but specific commands have
* `test` - The `tree-sitter test` command will run the unit tests for the Tree-sitter parser in the current working directory. See [the documentation](http://tree-sitter.github.io/tree-sitter/creating-parsers) for more information.
* `parse` - The `tree-sitter parse` command will parse a file (or list of file) using Tree-sitter parsers.
* `parse` - The `tree-sitter parse` command will parse a file (or list of files) using Tree-sitter parsers.

View file

@ -464,7 +464,7 @@ In general, it's a good idea to make patterns more specific by specifying [field
#### Negated Fields
You can also constrain a pattern so that it only mathces nodes that *lack* a certain field. To do this, add a field name prefixed by a `!` within the parent pattern. For example, this pattern would match a class declaration with no type parameters:
You can also constrain a pattern so that it only matches nodes that *lack* a certain field. To do this, add a field name prefixed by a `!` within the parent pattern. For example, this pattern would match a class declaration with no type parameters:
```
(class_declaration