diff options
Diffstat (limited to 'exercises/functions/functions2.rs')
| -rw-r--r-- | exercises/functions/functions2.rs | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/exercises/functions/functions2.rs b/exercises/functions/functions2.rs index 1cf95c3..9bb3d76 100644 --- a/exercises/functions/functions2.rs +++ b/exercises/functions/functions2.rs @@ -1,5 +1,5 @@ // functions2.rs -// Make me compile! Scroll down for hints :) +// Make me compile! Execute `rustlings hint functions2` for hints :) fn main() { call_me(3); @@ -10,33 +10,3 @@ fn call_me(num) { println!("Ring! Call number {}", i + 1); } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// Rust requires that all parts of a function's signature have type annotations, -// but `call_me` is missing the type annotation of `num`. |
