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

Add ergonomic view helpers to Interaction #2265

Merged
merged 1 commit into from Nov 5, 2022

Conversation

rand0m-cloud
Copy link
Contributor

This PR adds into_* and as_* helpers to the Interaction type. My use-case revolves around a borrow of Interaction and without this PR I would have to clone Interaction or do my own deconstruction of Interaction.

I left deprecating the original view helpers as a task for another day.

@github-actions github-actions bot added the model Related to the `model` module. label Nov 2, 2022
@arqunis arqunis added the enhancement An improvement to Serenity. label Nov 5, 2022
@arqunis arqunis merged commit 339994b into serenity-rs:current Nov 5, 2022
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.

None yet

2 participants