blob: 64dbd665466d8aa9e0a66c745dfdc4bcf830a12c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// functions2.rs
//
// Execute `rustlings hint functions2` or use the `hint` watch subcommand for a
// hint.
fn main() {
call_me(3);
}
fn call_me(num:) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}
}
|