Skip Navigation

[Question][Textbook problems]Learning Rust Ownership and practice questions.

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?

2
2 comments