A poll for my @rustlang peeps:
Assume `expr` is long and not a local variable
-
-
`Ok(Some(expr?))`, but only because it does error conversion, and in a lot of cases, that's what you want. If I don't need the error conversion, then `http://expr.map (Some)`.
2 replies 0 retweets 10 likes
Replying to @burntsushi5 @rustlang
Ah good point, I hadn't really considered the case where you actually have to use `?` (or add `.map_err(Into::into)` which I've done in the past)
3:08 PM - 12 Sep 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.