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

allow(async_fn_in_trait) on traits with Send variant #6

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Conversation

tmandry
Copy link
Member

@tmandry tmandry commented Dec 18, 2023

If the user is using this macro then they aren't in danger of publishing a trait
incompatible with work-stealing executors.

In `syn`, there is a `PartialEq` impl for `Ident` that allows values
of this type to be compared directly against strings without calling
`to_string`, so let's do that.
@traviscross traviscross merged commit b118853 into main Dec 18, 2023
1 check passed
@traviscross traviscross deleted the allow-afit branch December 18, 2023 10:27
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