giving a value a type

This commit is contained in:
Hariettemaina 2022-09-09 14:58:33 +03:00
parent 6e2d8a8221
commit 7b07e89316
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// functions1.rs
// Execute `rustlings hint functions1` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn main() {
call_me();

View File

@ -7,7 +7,7 @@ fn main() {
call_me(3);
}
fn call_me(num:) {
fn call_me(num:i32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}