This is an automated archive made by the Lemmit Bot.
The original was posted on /r/rust by /u/This-is-unavailable on 2025-12-21 04:48:25+00:00.
I understand not having function overloading by paramter type to allow for better type inferencing but why not allow defining 2 function with the same name but different numbers of parameter. I don’t see the issue there especially because if there’s no issue with not being able to use functions as variables as to specify which function it is you could always do something like Self::foo as fn(i32) -> i32 and Self::foo as fn(i32, u32) -> i32 to specify between different functions with the same name similarly to how functions with traits work
You must log in or # to comment.

