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 two issues that cause the latest Clippy to fail the build. #2259

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

absoludity
Copy link
Contributor

Remove unnecessary conversion picked up by the latest Clippy in convert.rs

Switch to use .is_none_or instead of .map_or in ast_context.rs.

Fixes #2256

Remove unnecessary conversion picked up by the latest Clippy in
convert.rs

Switch to use .is_none_or instead of .map_or in ast_context.rs.

Fixes microsoft#2256
@absoludity
Copy link
Contributor Author

@microsoft-github-policy-service agree

@absoludity absoludity marked this pull request as ready for review March 28, 2025 05:50
@absoludity absoludity changed the title Fix two improvements that cause the latest Clippy to fail the build. Fix two issues that cause the latest Clippy to fail the build. Mar 30, 2025
Copy link
Contributor

@orpuente-MS orpuente-MS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@swernli swernli enabled auto-merge April 4, 2025 15:48
@swernli swernli added this pull request to the merge queue Apr 4, 2025
Merged via the queue into microsoft:main with commit d615884 Apr 4, 2025
19 checks passed
@absoludity absoludity deleted the 2256-clippy-issues branch April 5, 2025 03:51
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.

Clippy - useless_conversion error in qsc_frontend when building the playground locally
4 participants