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

Turn on recommended Clippy warnings #10

Merged
merged 1 commit into from Jul 31, 2022
Merged

Conversation

NicMcPhee
Copy link
Owner

This turns on the recommendations from the No Boilerplate video "Build your Rust lightsaber".

I couldn't figure out how to replace the if-let with Option::map_or_else as Clippy recommends, so that warning is still "live", but I fixed everything else except for the two unwrap warnings that definitely need to be resolved in the error handling improvements.

This runs on the recommendations from the No Boilerplate video "Build your Rust lightsaber".

I couldn't figure out how to replace the if-let with Option::map_or_else as Clippy recommends, so that warning is still "live", but I fixed everything else except for the two `unwrap` warnings that definitely need to be resolved in the error handling improvements.
@NicMcPhee NicMcPhee merged commit 74a07c9 into main Jul 31, 2022
@NicMcPhee NicMcPhee deleted the strengthen-clippy-warnings branch July 31, 2022 22:50
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.

None yet

1 participant