diff options
| author | Eddy Petrisor <eddy.petrisor@gmail.com> | 2019-05-22 14:48:32 +0300 |
|---|---|---|
| committer | Eddy Petrisor <eddy.petrisor@gmail.com> | 2019-05-22 14:50:40 +0300 |
| commit | 9aec4abc4d1edb9eacf86c4152675aeddb30694d (patch) | |
| tree | 8e40001c83a34bd54486bda67835d5c7e834d7fa /exercises/error_handling/option1.rs | |
| parent | a53b3f199f80757a4052e84510afe0aa49ca8e2d (diff) | |
rustfmt the exercises
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
Diffstat (limited to 'exercises/error_handling/option1.rs')
| -rw-r--r-- | exercises/error_handling/option1.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/exercises/error_handling/option1.rs b/exercises/error_handling/option1.rs index 9cf0bc9..13fc720 100644 --- a/exercises/error_handling/option1.rs +++ b/exercises/error_handling/option1.rs @@ -11,7 +11,10 @@ fn main() { println!("The last item in the list is {:?}", last); let second_to_last = list.pop().unwrap(); - println!("The second-to-last item in the list is {:?}", second_to_last); + println!( + "The second-to-last item in the list is {:?}", + second_to_last + ); } |
