Рет қаралды 11,043
Rust 1.75 includes Async functions in Traits!
Rust operates on a 6 week release cycle. Every 6 weeks a "release train" leaves the station and begins its journey to being the next stable release.
Code: github.com/rust-adventure/rus...
Rust Release Post: blog.rust-lang.org/2023/12/28...
RPITIT Post: blog.rust-lang.org/2023/12/21...
What is a Release Train? -- doc.rust-lang.org/book/append...
Chapters
00:00 Rust 1.75!
00:15 code layout optimizations for rustc
00:41 Option::as_slice
02:14 exhaustive half-open usize/isize ranges
03:17 FileTimes
04:35 Return Position Impl Trait in Trait (RPITIT)
06:19 async functions in traits!
08:29 Downsides to RPITIT
09:24 new trait_variant crate