summaryrefslogtreecommitdiff
path: root/exercises/functions/functions3.rs
blob: ed5f839ff9f5101cae6b829f0fba909e12fa2f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// functions3.rs
// Make me compile! Execute `rustlings hint functions3` for hints :)

// I AM NOT DONE

fn main() {
    call_me();
}

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