Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: