Closed
Description
Function signature is not even documented in the reference.
For a function signature
type T = fn(arg1: c_void, c_void);
the argument names can be ignored, and there's two drawbacks here:
- Fn/ FnOnce/ FnMut traits don't have argument names, so it leads to inconsistency
- it's harder to parse if argument names are optional, for syntax-highlighting and other purposes
And the syntax of extern functions should be changed accordingly for obvious reason.
So this will break current code, thus need to be landed before 1.0, or even before beta.
Metadata
Metadata
Assignees
Labels
No labels