diff options
| author | Russell Cousineau <miller.time.baby@gmail.com> | 2019-06-06 19:52:42 -0700 |
|---|---|---|
| committer | Russell Cousineau <miller.time.baby@gmail.com> | 2019-06-11 07:14:43 -0700 |
| commit | eb13c2b6afd4ae22370698561478e27c8633a918 (patch) | |
| tree | 4cc1d9d35aacb444ab014bc2073696298cf3e2be /exercises/test3.rs | |
| parent | b8d59d699bed76b6be95d1ed41881d00d4b0d533 (diff) | |
chore: Clean up some formatting in exercises
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"); |
