This commit is contained in:
2021-07-16 20:45:35 -05:00
parent 4eb1976ef6
commit 322bf1723f
2 changed files with 11 additions and 1 deletions

7
Cargo.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "variables"
version = "0.1.0"

View File

@@ -1,3 +1,6 @@
fn main() { fn main() {
println!("Hello, world!"); let mut x = 5;
println!("The value of x is: {}", x);
x = 6;
println!("The value of x is: {}", x);
} }