Hacker News new | ask | show | jobs
by pdimitar 2459 days ago
Is there a site(s) where there is specified how to represent more complex data structures while making the borrow checker happy?
1 comments

When you've internalized its rules, the borrow checker isn't too complicated to keep happy (you may need to use stuff like RefCell and Rc though). It takes some time though, and this tutorial helped me a lot in the beginning: https://rust-unofficial.github.io/too-many-lists/