| ▲ | fainpul 3 hours 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. | ||
| ▲ | 2 hours ago | parent [-] | |
| [deleted] | ||