Post

Rust Fixme 2

The Rust saga continues? I ask you, can I borrow that, pleeeeeaaaasseeeee?

Rust Fixme 2

Reference

same as Rust_Fixme3 Here we just need to find out the pass by reference was currently referenced or not! that’s it…

Need solve!? Here it is:

Getting Start

First do same as Rust-fixme3 . then open the main.rs file and look at the string ref as &string . here just add &mut after the string as shows &mut string . then go to end of the code as line 34 . Here look string is without mut(mutable) reference . add &mut string . Done

Now run the file and you got it….

This post is licensed under CC BY 4.0 by the author.