From acd3d32c36bb8438c7f4c6fcf9340e1bf59cddb3 Mon Sep 17 00:00:00 2001 From: Hendrik van Antwerpen Date: Tue, 11 Jan 2022 18:18:21 +0100 Subject: [PATCH] Remove reference to strings from quantifier-only function --- lib/binding_rust/bindings.rs | 5 ++--- lib/include/tree_sitter/api.h | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/binding_rust/bindings.rs b/lib/binding_rust/bindings.rs index bd4e1501..a79f432e 100644 --- a/lib/binding_rust/bindings.rs +++ b/lib/binding_rust/bindings.rs @@ -672,9 +672,8 @@ extern "C" { ) -> *const ::std::os::raw::c_char; } extern "C" { - #[doc = " Get the quantifier of the query's captures, or one of the query's string"] - #[doc = " literals. Each capture and string is associated with a numeric id based"] - #[doc = " on the order that it appeared in the query's source."] + #[doc = " Get the quantifier of the query's captures. Each capture is * associated"] + #[doc = " with a numeric id based on the order that it appeared in the query's source."] pub fn ts_query_capture_quantifier_for_id( arg1: *const TSQuery, pattern_id: u32, diff --git a/lib/include/tree_sitter/api.h b/lib/include/tree_sitter/api.h index 4a150511..7266fba7 100644 --- a/lib/include/tree_sitter/api.h +++ b/lib/include/tree_sitter/api.h @@ -750,9 +750,8 @@ const char *ts_query_capture_name_for_id( ); /** - * Get the quantifier of the query's captures, or one of the query's string - * literals. Each capture and string is associated with a numeric id based - * on the order that it appeared in the query's source. + * Get the quantifier of the query's captures. Each capture is * associated + * with a numeric id based on the order that it appeared in the query's source. */ TSQuantifier ts_query_capture_quantifier_for_id( const TSQuery *,