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

Change unwrap_or_return to be a proc macro, allowing for better closu… #1

Merged
merged 2 commits into from Oct 30, 2021

Conversation

Stefanowhb
Copy link
Contributor

Change unwrap_or_return to be a proc macro.
Allows for better closure support and overall support for all kinds of expressions.

I had to create a separate crate within the project because proc macro crates don't allow you to export anything besides the macros and we want to still export loop_unwrap as well.

Copy link
Member

@genusistimelord genusistimelord left a comment

Choose a reason for hiding this comment

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

make these changes first

proc_macros/src/lib.rs Outdated Show resolved Hide resolved
@genusistimelord genusistimelord merged commit 40067f3 into AscendingCreations:main Oct 30, 2021
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.

None yet

2 participants