-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR #2
base: newbranch
Are you sure you want to change the base?
PR #2
Conversation
I would add a code snippet showing how this is used, because my first reaction to seeing this was: this isn't doing anything new. Something like: assert_eq!(addition(2, 3), 5); Also, shouldn't the |
Personally I feel I strongly feel
// Definition (slightly prefer the second)
fn addition(...arg: (u32, u32)) -> u32 { }
fn addition(arg: ...(u32, u32)) -> u32 { }
// Call
addition(10, 20);
addition(...(10, 20)); |
Are you still working on this? I was going to start working on an RFC for variadic generics, but then I noticed your pre-RFC. |
Not actively. |
No description provided.