The post discusses the progress made by the Keyword Generics Initiative in introducing new syntax for async and const in Rust. It proposes the use of ?async and ?const notations for functions, traits, and types. It also explores the idea of introducing the effect/.do notation to mark functions as generic over modifier keywords.

11m read time From blog.rust-lang.org
Post cover image
Table of contents
IntroductionAn async exampleA const exampleCombining const and asyncAdding support for typesConsistent syntaxThe tentative planConclusion

Sort: