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

Minor clippy nits #578

Merged
merged 1 commit into from Aug 20, 2023
Merged

Minor clippy nits #578

merged 1 commit into from Aug 20, 2023

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Aug 20, 2023

  • Fix semicolons (pedantic)
  • Don't duplicate var name for instantiation if not needed
  • Use map_or instead of map.unwrap_or

* Fix semicolons (pedantic)
* Don't duplicate var name for instantiation if not needed
* Use `mar_or` instead of `map.unwrap_or`
@KodrAus KodrAus merged commit 6ced0fa into rust-lang:master Aug 20, 2023
14 checks passed
@nyurik nyurik deleted the clippy branch August 21, 2023 01:15
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

3 participants