Re:Tokio 1.0 – async runtime for Rust
by octoberfranklin on Wednesday December 23, 2020 @09:29PM
(#25524538)
The examples in the package docs have always been great starting points for me.
Also, I love the fact that Rust will complain if the examples in your comments don't compile. Such a great feature. As a result, copy-and-pasting examples out of rustdoc pages (nearly) always gives you a working starting point to hack from.
Also, I love the fact that Rust will complain if the examples in your comments don't compile. Such a great feature. As a result, copy-and-pasting examples out of rustdoc pages (nearly) always gives you a working starting point to hack from.