We desire for our stubs to compile without warnings, as that helps us set a better example and prevent problems like #461 (a stub that provides a u32 where a u64 is needed).
In order for us to get there, these files that have unused variables should instead use the model established in #438 #474 and #477, where in the unimplemented! macro we write a message saying what the function should do and reference the arguments.
Here are the exercises that should be modified as a result of this (Determined via manual inspection of #478:
For each exercise, the relevant file is the src/lib.rs file. For example, https://github.com/exercism/rust/blob/master/exercises/bob/src/lib.rs for bob.
You may choose to either work on these one at a time, or send one PR that does this for all the exercises.
We desire for our stubs to compile without warnings, as that helps us set a better example and prevent problems like #461 (a stub that provides a u32 where a u64 is needed).
In order for us to get there, these files that have unused variables should instead use the model established in #438 #474 and #477, where in the
unimplemented!macro we write a message saying what the function should do and reference the arguments.Here are the exercises that should be modified as a result of this (Determined via manual inspection of #478:
For each exercise, the relevant file is the src/lib.rs file. For example, https://github.com/exercism/rust/blob/master/exercises/bob/src/lib.rs for bob.
You may choose to either work on these one at a time, or send one PR that does this for all the exercises.