summaryrefslogtreecommitdiff
path: root/exercises/02_functions/functions2.rs
blob: 2c773c6b7f36d0019b9cf2c73ebcb3aa860843dd (plain)
1
2
3
4
5
6
7
8
9
10
// TODO: Add the missing type of the argument `num` after the colon `:`.
fn call_me(num:) {
    for i in 0..num {
        println!("Ring! Call number {}", i + 1);
    }
}

fn main() {
    call_me(3);
}