Skip to content
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

fix syntax with comma #89

Merged
merged 1 commit into from
Jun 20, 2024
Merged

fix syntax with comma #89

merged 1 commit into from
Jun 20, 2024

Conversation

ehershey
Copy link
Contributor

@ehershey ehershey commented Jun 9, 2024

Example doesn't compile with a comma here

Example doesn't compile with a comma here
@c-git
Copy link
Contributor

c-git commented Jun 10, 2024

Oh good catch, I tested on rust playground and you're right. I thought it was valid and realized that it's only valid if the { } are not there.

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a73ca17a33ee0d705c5b237751eea4aa

@LukeMathWalker
Copy link
Collaborator

Thanks!

@LukeMathWalker LukeMathWalker merged commit d8d7e73 into mainmatter:main Jun 20, 2024
2 checks passed
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.

3 participants