Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Aug 27, 2020
|
parent
|
context
|
favorite
| on:
Rust 1.46
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
on Aug 27, 2020
[–]
Nah, either is fine. Rust gives you the tools to do both for good reason. Which is right for you completely depends.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: