Fil@hachyderm.iotoRust@programming.dev•Debug-time enforcement of borrowing rules, and safety in general.
2·
4 months ago@FizzyOrange @savvywolf
I think this is a fine pattern and I use it in rust occasionally.
how does this not work for you?
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=0f06fe574e1c69424b4749ef910a1fa7
@FizzyOrange I see what you mean