4 ms·
Box/RefCell are gonna be way harder than just ".clone()" or not sharing mutable references all over the place.
by staticassertion 4y ago
Box/RefCell are gonna be way harder than just ".clone()" or not sharing mutable references all over the place.
- Ygg2 4y agoWell it's the only way to bypass borrow checker as fas as I know. And I assume teaching you a bad habit, then un-teaching it is going to be more expensive than not. I guess another way could be by using Copy-able structs is anohther way.