It is suggested to improve usability of dev::ServiceRequest. #1863
-
Beta Was this translation helpful? Give feedback.
Answered by
fakeshadow
Dec 30, 2020
Replies: 1 comment 7 replies
-
It returns the ownership back to you so you don't lose them forever. In general don't use unwrap for error handling. You want to handle the error properly. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
myyrakle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It returns the ownership back to you so you don't lose them forever.
In general don't use unwrap for error handling. You want to handle the error properly.