You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a beginner rust dev, when I have the problem of getting some data to a function, I'm having issues deciding whether to use clone() and when to borrow.
In section 04_traits/11_clone can you add some advice for this problem.
I'm also curious when using clone is idiomatic rust and when it isn't.
The text was updated successfully, but these errors were encountered:
As a beginner rust dev, when I have the problem of getting some data to a function, I'm having issues deciding whether to use
clone()
and when to borrow.In section
04_traits/11_clone
can you add some advice for this problem.I'm also curious when using clone is idiomatic rust and when it isn't.
The text was updated successfully, but these errors were encountered: