You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rustfmt drops 'default' from 'default fn …' using specialization #945
Activity
zitsen commentedon May 19, 2016
I'm waiting for this impl.
julienXX commentedon May 31, 2016
I'd like to try to fix this one if no one is already working on it.
regexident commentedon May 31, 2016
line hint (spoiler alert! 😉 )
lqd commentedon May 31, 2016
To me it looked like the syntex visitor didn't pass the defaultness ? (but I'm unfamiliar with both syntex and rustfmt so I could be very mistaken)
regexident commentedon May 31, 2016
That's true in fact, afaikt:
syntax::ast::TraitItemKind::Method(MethodSig, Option<P<Block>>)lqd commentedon May 31, 2016
@julienXX salut Julien ;)
I think I'm close-ish to making a PR as I was talking about this issue with @nrc on IRC earlier today, would you mind if I took a crack at it ?
julienXX commentedon May 31, 2016
@lqd no problem 👍
Add support for the `default` keyword (#1025)
nrc commentedon Jun 1, 2016
@julienXX if you want to work on a rustfmt, there are a bunch of good issues - https://github.com/rust-lang-nursery/rustfmt/issues?q=is%3Aopen+is%3Aissue+label%3Aeasy - I'm happy to mentor any of them - either ping me on irc or comment on the bug.
julienXX commentedon Jun 1, 2016
@nrc will do, thanks :)
jaredthecoder commentedon Jun 5, 2016
@nrc I'd love to jump on some of those. I'll find you on IRC if I have any issues.