1. 10
    Rustlings functions3: Passing an argument to a function
    18s

Rustlings functions3: Passing an argument to a function

Chris Biscardi
InstructorChris Biscardi
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

README for this exercise.

Chris Biscardi: [0:00] In functions3, we start with the code that we ended with in functions2. The only difference is that call_me is not passed any arguments, but we've defined me as taking a number. To fix this, we can pass any number into the function call. Note that we now have all 10 numbers in our output and our tests pass.