diff options
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 + ); } |
