Remove interior mutability for parent-node caching in Tree
In Rust binding, mark Tree as Sync
This commit is contained in:
parent
019148b304
commit
399b5e4daf
4 changed files with 3 additions and 59 deletions
|
|
@ -1942,7 +1942,8 @@ impl error::Error for QueryError {}
|
|||
unsafe impl Send for Language {}
|
||||
unsafe impl Send for Parser {}
|
||||
unsafe impl Send for Query {}
|
||||
unsafe impl Send for Tree {}
|
||||
unsafe impl Send for QueryCursor {}
|
||||
unsafe impl Send for Tree {}
|
||||
unsafe impl Sync for Language {}
|
||||
unsafe impl Sync for Query {}
|
||||
unsafe impl Sync for Tree {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue