|
|
|
|
|
by zRedShift
1885 days ago
|
|
Maybe this can help you, I looked at your fork of tree-sitter to figure out what you were trying to do. https://play.rust-lang.org/?version=stable&edition=2018&gist... But what you really want is to get your head around ownership and borrowing, especially when it comes to the scoped RAII that rust has (e.g. freeing a String while a reference to it still exists and is being used would give you the "temporary value dropped while borrowed" error). |
|