I'm quite proud that I managed to write down this explanation of conversions between Result, Option, and Failure's Error + ErrorKind pair. Feeling reasonably confident I understand what's going on. It's a good feeling!https://github.com/yoshuawuyts/changelog/pull/12/files#r214899055 …
On another note, some version of the `try {}` keyword would be great. Finding myself writing a lot of code like this: https://github.com/yoshuawuyts/crossgen/blob/master/src/cli.rs#L57-L59 … Would be great if we could cut down on the boilerplate a bunch.
-
-
Hmm, I'd write it in a way you can give the block in the None case a name. Let me make a quick PR to show what I mean
-
Oh yeah, I guess that could work! Get what you mean :D
End of conversation
New conversation -
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.