diff options
Diffstat (limited to 'exercises/test3.rs')
| -rw-r--r-- | exercises/test3.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/exercises/test3.rs b/exercises/test3.rs index e94b069..c8a5578 100644 --- a/exercises/test3.rs +++ b/exercises/test3.rs @@ -7,8 +7,12 @@ // you think each value is. That is, add either `string_slice` or `string` // before the parentheses on each line. If you're right, it will compile! -fn string_slice(arg: &str) { println!("{}", arg); } -fn string(arg: String) { println!("{}", arg); } +fn string_slice(arg: &str) { + println!("{}", arg); +} +fn string(arg: String) { + println!("{}", arg); +} fn main() { ("blue"); |
