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

Clean up permissions.rs #3046

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Conversation

GnomedDev
Copy link
Member

This PR combines the bitflags and generate_permission_names macros into a single macro, which also generates the shorthand methods. The first commit in this PR is the actual change but with weird formatting to make it nicer to diff, and the second commit fixes that formatting.

This should make no user-facing diff, except from fixing missing entries in get_permission_names.

@github-actions github-actions bot added the model Related to the `model` module. label Nov 18, 2024
@cheesycod
Copy link
Contributor

I can confirm this works

@arqunis arqunis added the enhancement An improvement to Serenity. label Nov 18, 2024
@GnomedDev GnomedDev merged commit c833f7c into serenity-rs:current Nov 18, 2024
22 checks passed
@GnomedDev GnomedDev deleted the permissions-cleanup branch November 18, 2024 20:04
DovidP added a commit to scopeclient/serenity that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to Serenity. model Related to the `model` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants