Merge pull request #850 from berkus/patch-1

Fix typo
This commit is contained in:
Max Brunsfeld 2021-03-09 15:07:48 -08:00 committed by GitHub
commit 5ecdfce122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ let new_tree = parser.parse(new_source_code, Some(&tree));
### Text Input
The source code to parse can be provided either either as a string, a slice, a vector, or as a function that returns a slice. The text can be encoded as either UTF8 or UTF16:
The source code to parse can be provided either as a string, a slice, a vector, or as a function that returns a slice. The text can be encoded as either UTF8 or UTF16:
```rust
// Store some source code in an array of lines.