Replies: 2 comments 1 reply
-
I don't get the question? |
Beta Was this translation helpful? Give feedback.
-
Copying the same thing I posted in your linked issue:
So, just like regular Rust, if you want to take advantage of Rust error handling, you should not be using On the other hand, if you correctly handle the Rust errors, you will see the |
Beta Was this translation helpful? Give feedback.
-
When using
unwrap
it stops executing the code. Why is the return parameter&'static str
needed here then?Wouldn't it have the same effect to replace it with the following?
Related to this.
Beta Was this translation helpful? Give feedback.
All reactions