summaryrefslogtreecommitdiff
path: root/exercises/02_functions/functions2.rs
blob: a2cffc1a7b57067fb14c221e111d33ca39258e6d (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: i32) {
    for i in 0..num {
        println!("Ring! Call number {}", i + 1);
    }
}

fn main() {
    call_me(3);
}