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,5 +1,5 @@
// TODO: Add the missing type of the argument `num` after the colon `:`.
fn call_me(num:) {
fn call_me(num: i32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}