86dccc4ca7
a description starts with the filename, has an optional description and ends with help information
18 lines
279 B
Rust
18 lines
279 B
Rust
// functions2.rs
|
|
//
|
|
// Make me compile!
|
|
//
|
|
// If you need help, open the corresponding README.md or run: rustlings hint functions2
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
call_me(3);
|
|
}
|
|
|
|
fn call_me(num:) {
|
|
for i in 0..num {
|
|
println!("Ring! Call number {}", i + 1);
|
|
}
|
|
}
|