From 196d7f13559b00906dc9676b9fe55486f13c850b Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 19 Jun 2018 11:15:01 -0700 Subject: [PATCH] Update sentence about TSInput in docs --- docs/section-4-using-parsers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/section-4-using-parsers.md b/docs/section-4-using-parsers.md index 054e0e2e..24351bc9 100644 --- a/docs/section-4-using-parsers.md +++ b/docs/section-4-using-parsers.md @@ -73,7 +73,7 @@ clang \ ### Providing the text to parse -Text input is provided to a tree-sitter parser via a `TSInput` struct, which contains function pointers for seeking to positions in the text, and for reading chunks of text. The text can be encoded in either UTF8 or UTF16. This interface allows you to efficiently parse text that is stored in your own data structure. +Text input is provided to a tree-sitter parser via a `TSInput` struct, which specifies a function pointer for reading chunks of text. The text can be encoded in either UTF8 or UTF16. This interface allows you to efficiently parse text that is stored in your own data structure. ### Querying the syntax tree