3 ms·
To be fair the syntactic sugar that is impl Trait could be done as a generic parameter with restrictions as I understand it? The concept of impl Trait for param
by bfrog 3y ago
To be fair the syntactic sugar that is impl Trait could be done as a generic parameter with restrictions as I understand it? The concept of impl Trait for parameters and returns seems intricately tied to Future trait. It’s interesting to see some of the inner workings of the compiler team in the process of this be in my view somewhat conservative on the feature, rightfully so! I love the language and the compiler. The stewards of it seem careful and that’s in my view a good thing.