FunctionmainIt prints:
[10, -8, 18, 0, -14, -2, 6, 10, 6, 2]*/
Source Code/09-31.rs:3
FunctionmainIt prints:
[10, -8, 18, 0, -14, -2, 6, 10, 6, 2]*/
Source Code/09-26.rs:3
FunctionmainThe compiler prints the warning message:
variable does not need to be mutable.
Then, the program prints:
[5, -4, 9, 0, -7, -1, 3, 5, 3, 1]*/
Source Code/09-27.rs:5