Post AcC4eC5mFqSa63Qnho by janriemer@floss.social
 (DIR) More posts by janriemer@floss.social
 (DIR) Post #AcC4eC5mFqSa63Qnho by janriemer@floss.social
       2023-11-25T19:24:38Z
       
       0 likes, 1 repeats
       
       *makes some happy screaming noise* :awesome: :ferris: #Rust will end this year with a long awaited feature that will define it's future:We will get "async fn and return-position impl Trait in trait" (#AFIT & #RPITIT).It will be stabilized in the next #RustLang version 1.75, which will be released on 28 December, 2023.https://releases.rs/docs/1.75.0/PR:https://github.com/rust-lang/rust/pull/115822Thank you Rust #community for all of your hard work! ❤️ #RustAsync #AsyncRust
       
 (DIR) Post #AcPazSmf75LhXC9gBM by janriemer@floss.social
       2023-12-02T19:15:11Z
       
       0 likes, 1 repeats
       
       Whoop! 🎉 Continuing this series, we'll (very likely) get `dyn (trait) upcasting` in #Rust 1.76! :awesome: 🎡 I've accidentally stumbled upon this (😄), while trying to answer @luna's question here:https://floss.social/@luna@lunar.place/111511081757642056It basically allows you to upcast trait objects.See the original RFC (with some nice examples on when you need this)...:https://github.com/rust-lang/rfcs/blob/master/text/3324-dyn-upcasting.md...and it's tracking issue:https://github.com/rust-lang/rust/issues/65991#RustLang