From d185f3126f0d58ee5a56f341231f02f004a638cc Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Wed, 2 Aug 2023 21:37:33 +0300 Subject: [PATCH] Make LookaheadIterator Sync and Send --- lib/binding_rust/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/binding_rust/lib.rs b/lib/binding_rust/lib.rs index 461c9557..ad20507e 100644 --- a/lib/binding_rust/lib.rs +++ b/lib/binding_rust/lib.rs @@ -2646,6 +2646,12 @@ unsafe impl Sync for Language {} unsafe impl Send for Node<'_> {} unsafe impl Sync for Node<'_> {} +unsafe impl Send for LookaheadIterator {} +unsafe impl Sync for LookaheadIterator {} + +unsafe impl Send for LookaheadNamesIterator<'_> {} +unsafe impl Sync for LookaheadNamesIterator<'_> {} + unsafe impl Send for Parser {} unsafe impl Sync for Parser {}