2 ms·
I think you're really intended to do the latter rather than the former. I mean, Rust lets you do either–it gives you the choice if performance isn't your conce
by saagarjha 6y ago
I think you're really intended to do the latter rather than the former. I mean, Rust lets you do either–it gives you the choice if performance isn't your concern–but usually it's better to not clone everything.
- steveklabnik 6y agoNah, either is fine. Rust gives you the tools to do both for good reason. Which is right for you completely depends.