Skip to content
This repository was archived by the owner on May 11, 2020. It is now read-only.

feat: Allow empty struct without braces #19

Closed
wants to merge 1 commit into from
Closed

feat: Allow empty struct without braces #19

wants to merge 1 commit into from

Conversation

pksunkara
Copy link
Member

@pksunkara pksunkara commented Oct 11, 2019

This change is Reviewable

@pksunkara
Copy link
Member Author

@CreepySkeleton Can you review this and see if you want this? If yes, I can make the PR to clap.

@CreepySkeleton
Copy link
Contributor

I don't really see why this is useful. There's no real difference between struct Foo and struct Foo {}, the second works already. We may also want to give some special meaning to unit structs in future, so let's leave it as is for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants