27 ms·
Nothing. You would use `!` to force unwrap in this case. I think the point of the comment was that in many cases, when constructing a url, you can't be sure th
by fainpul 10mo ago
Nothing. You would use `!` to force unwrap in this case.
I think the point of the comment was that in many cases, when constructing a url, you can't be sure that the input will result in a valid url (e.g. when receiving a string instead of an int), so you have to be more defensive and the required code is more verbose.
- deleted 10mo ago[deleted]