summaryrefslogtreecommitdiff
path: root/exercises/functions/functions3.rs
blob: 3b9e585b6c879b56e040a1673082974cc83e8890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// functions3.rs
// Execute `rustlings hint functions3` or use the `hint` watch subcommand for a hint.

// I AM NOT DONE

fn main() {
    call_me();
}

fn call_me(num: u32) {
    for i in 0..num {
        println!("Ring! Call number {}", i + 1);
    }
}