Oh no, the Try trait is not stable yet. https://doc.rust-lang.org/nightly/core/ops/trait.Try.html …
-
-
try!() is an old macro I haven't used in years. It was noisy syntax so I'm glad we switched to ?. When it comes to await!() I'm not sure it's as noisy so I'm not sure what syntax we would adopt to make something await, or how we would resolve operator precedence if it's a Result
-
So for example how would we resolve something like let x = await my_future?; For now at least let x = await!(my_future)?; makes sense. It'll be interesting to see what we come up with :D
- 4 more replies
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.