functions

This commit is contained in:
2026-09-07 08:08:30 +03:00
parent d04b26e5f3
commit 1f869d5cc8
18 changed files with 75 additions and 24 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
fn main() {
// TODO: Change the line below to fix the compiler error.
let x;
let x = 10;
if x == 10 {
println!("x is ten!");