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

Qualify ArrForm usage with $crate in the arrform! macro #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Windfisch
Copy link

This ensures that the macro does not cause build errors even when the user did not use arrform::ArrForm. It is good practice for macros to not rely on names being available through external use statements. Instead, names can be fully qualified using $crate::.

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.

1 participant