Hey, i'm trying to fight the borrow checker shocking, i know anyway. I'm trying to ... well, it's easier to explain it in code itself.
I also tried following and it got a lot worse :/
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=4e1e941edbc98a46b1046c87a35dcb2d
any idea how i could implement this correctly ? I don't want you to write my code, I just want some rough directions for me to take to figure this out :/
A browser interface to the Rust compiler to experiment with the language
A browser interface to the Rust compiler to experiment with the language