Skip to content

Commit

Permalink
Clean up permissions.rs (serenity-rs#3046)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
GnomedDev authored Nov 18, 2024
1 parent 40e28d4 commit c833f7c
Showing 1 changed file with 195 additions and 604 deletions.
Loading

0 comments on commit c833f7c

Please sign in to comment.