Rustbook up through ch03-01
This commit is contained in:
6
rustbook/variables/src/main.rs
Normal file
6
rustbook/variables/src/main.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
fn main() {
|
||||
let mut x = 5;
|
||||
println!("The value of x is: {}", x);
|
||||
x = 6;
|
||||
println!("The value of x is: {}", x);
|
||||
}
|
Reference in New Issue
Block a user