这是indexloc提供的服务,不要输入任何密码
Skip to content

Simplify derive #1

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

Closed
wants to merge 1 commit into from
Closed

Simplify derive #1

wants to merge 1 commit into from

Conversation

CreepySkeleton
Copy link

I don't think we need the derive at all, but nonetheless, this code insults my sense of beauty. Let's fix it for the sake of history.

@CreepySkeleton CreepySkeleton requested a review from pksunkara May 12, 2020 09:48

quote! {
#new
struct #ident {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing DeriveInput's, attrs, vis, generics. I remember I didn't do it like this because tokenising generics was a bit difficult because you have to put it's types at one point and it's where clause at other.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely like the PR, but this is a blocker.

@pksunkara
Copy link
Owner

Moving away from the derive.

@pksunkara pksunkara closed this May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants