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

Fixed single-argument {mut_}array_refs returning wrong type. #25

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

Zenithsiz
Copy link
Contributor

This fixes the macro on single-argument {mut_}array_refs, which previously resulted in a compiler error, due to the as_arrays function returning a (T,), but the return value being a T.

Also added a test for this, including the "skip" syntax in all of it's forms.

Copy link
Owner

@droundy droundy left a comment

Choose a reason for hiding this comment

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

Looks pretty good. Thanks!

@droundy droundy merged commit d41c73a into droundy:master Mar 20, 2023
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