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 #[cfg()] attributes on trait impls in mock! #297

Merged
merged 1 commit into from Jun 27, 2021
Merged

Allow #[cfg()] attributes on trait impls in mock! #297

merged 1 commit into from Jun 27, 2021

Conversation

asomers
Copy link
Owner

@asomers asomers commented Jun 27, 2021

mock! already allowed individual methods to be so gated. Now it will
work for trait impls, too.

Fixes #288

mock! already allowed individual methods to be so gated.  Now it will
work for trait impls, too.

Fixes #288
@asomers asomers merged commit 50e95a3 into master Jun 27, 2021
@asomers asomers deleted the cfg branch June 27, 2021 17:19
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.

Alloc #[cfg()] attributes on trait impls in mock!
1 participant