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

Replace Option::map_or(false, ...) with is_some_and(...) #2456

Merged
merged 1 commit into from
Jun 3, 2023

Conversation

mkrasnitski
Copy link
Collaborator

Newly stabilized in Rust 1.70

@github-actions github-actions bot added cache Related to the `cache`-feature. examples Related to Serenity's examples. framework Related to the `framework` and `framework::standard` modules and/or the `command_attr` crate model Related to the `model` module. utils Related to the `utils` module. labels Jun 2, 2023
@arqunis arqunis added the enhancement An improvement to Serenity. label Jun 3, 2023
@arqunis arqunis merged commit 14e65e3 into serenity-rs:next Jun 3, 2023
@mkrasnitski mkrasnitski deleted the is-some-and branch June 3, 2023 22:06
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Sep 21, 2023
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Oct 17, 2023
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Oct 24, 2023
arqunis pushed a commit to arqunis/serenity that referenced this pull request Oct 24, 2023
arqunis pushed a commit to arqunis/serenity that referenced this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cache Related to the `cache`-feature. enhancement An improvement to Serenity. examples Related to Serenity's examples. framework Related to the `framework` and `framework::standard` modules and/or the `command_attr` crate model Related to the `model` module. utils Related to the `utils` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants