this post was submitted on 25 Mar 2024
9 points (100.0% liked)

Rust

6117 readers
3 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

Hello All:

I am working on rust problems here. In the second question I solved it by simply adding the return statement for the function to modify. I am not sure what the lesson in ownership to walk away with in this problem. Any guidance?

you are viewing a single comment's thread
view the rest of the comments
[–] InternetCitizen2 2 points 9 months ago