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 setting both normal and raw event handlers #2933

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

tazz4843
Copy link
Contributor

@tazz4843 tazz4843 commented Aug 6, 2024

Changes the raw event handler to take &Event instead of Event. Realistically I can't think of a real-world use case where owned data is needed here, and it's likely much more usable now than it was before anyways.

@github-actions github-actions bot added client Related to the `client` module. gateway Related to the `gateway` module. labels Aug 6, 2024
@GnomedDev GnomedDev added the breaking change The public API is changed, resulting in miscompilations or unexpected new behaviour for users label Aug 16, 2024
@GnomedDev GnomedDev merged commit 9d41131 into serenity-rs:next Aug 16, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change The public API is changed, resulting in miscompilations or unexpected new behaviour for users client Related to the `client` module. gateway Related to the `gateway` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants