External Publication
Visit Post

Pre-RFC: Explicit overload sets for mixed-arity function calls

Rust Internals [Unofficial] June 11, 2026
Source

I would really love if functions like Fn((A, B)) could have been easily converted to Fn(A, B). Mapping with enum variant is very useful, but it loses a lot of benefits when you go to variants with two or more members.

Discussion in the ATmosphere

Loading comments...