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

Fix Clippy warning in 1.84.0 #1262

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Fix Clippy warning in 1.84.0 #1262

merged 1 commit into from
Jan 14, 2025

Conversation

wks
Copy link
Collaborator

@wks wks commented Jan 14, 2025

Rust 1.84.0 added a new lint "unnecessary_map_or". We use Option::is_some_and (introduced in Rust 1.70.0) as suggested by the lint.

Rust 1.84.0 added a new lint "unnecessary_map_or". We use
`Option::is_some_and` (introduced in Rust 1.70.0) as suggested by the
lint.
@wks wks requested a review from qinsoon January 14, 2025 07:18
@wks wks added this pull request to the merge queue Jan 14, 2025
Merged via the queue into mmtk:master with commit 2f6f078 Jan 14, 2025
33 checks passed
@wks wks deleted the fix/clippy-1.84 branch January 14, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants