Did you know that you can use the try macro with an Option in #rustlang because I *just* found that out.
-
Show this thread
-
Apparently it's only on Nightly but that's okay because it's just too good not to be on Nightly. In both of my "big" projects I've used Nightly features because they are just so good. TryFrom and NoneError are absolutely fantastic.
2 replies 0 retweets 2 likesShow this thread
Replying to @genuinebyte
You can use it in functions returning Option in stable, it’s only NoneError that requires nightly
4:16 AM - 20 Nov 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.