Well, almost that. You can do cross-Result/Option stuff, but it won’t coerce in this specific example. But if your function returns Result but you use ? on an option, it will, or vice versa
-
-
Replying to @tazjin
Err sorry, this actually works as written today; I made a mistake https://play.rust-lang.org/?gist=9b0a1bcb7fd0039852caa79c794a46e6&version=stable&mode=debug …
1 reply 0 retweets 1 like
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.