3 ms·
Trailing return type declaration (-> type) was needed to declare the return tyoe of a lambda — no other way to get that info into the grammar. Then once that w
by gumby 3y ago
Trailing return type declaration (-> type) was needed to declare the return tyoe of a lambda — no other way to get that info into the grammar.
Then once that was opened some folks felt it would be better to write their regular code that way too.