Archived
1
0
This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
learning.rs/rustlings/exercises/functions/functions3.rs
Gustavo "Guz" L. de Mello 233ff077d5 ruslings project
2024-02-27 14:26:01 -03:00

15 lines
243 B
Rust

// functions3.rs
//
// Execute `rustlings hint functions3` or use the `hint` watch subcommand for a
// hint.
fn main() {
call_me(3);
}
fn call_me(num: u32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}
}