One interesting question about async fn in traits is whether or not we should label the trait itself as async. Until recently, I didn’t see any need for that. But as we discussed the question of how to enable “maybe async” code, we realized that there would be some advantages to distinguishing “async traits” (which could contain async functions) from sync traits (which could not). However, as I’ve thought about the idea more, I’m more and more of the mind that we should not take...| smallcultfollowing.com
Currying is a functional programming technique that allows you to partially apply a function’s arguments and return a new function that takes the remaining arguments. This is widely used in functional programming languages like Haskell, as a fundamental tool for many design patterns. However, today we use the technique in Rust to improve the performance of our functions. TL;DR: You can also take a look to the proc macro const-currying directly.| blog.cocl2.com
Want to follow along with Rust development? Curious how you might get involved? Take a look!| blog.rust-lang.org
Sit beside me and hear this crazy old man's tale of when I asked Rust for too much| NullDeref