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() {
let number = "T-H-R-E-E";
println!("Spell a number: {number}");
// Using variable shadowing
// https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html#shadowing
let number = 3;
println!("Number plus two is: {}", number + 2);
}