This commit is contained in:
2026-07-19 17:01:21 -07:00
commit cef4f1368d
217 changed files with 4950 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
fn main() {
// In Rust, variables are immutable by default.
// Adding the `mut` keyword after `let` makes the declared variable mutable.
let mut x = 3;
println!("Number {x}");
x = 5;
println!("Number {x}");
}