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 lints, making Clippy happier #189

Merged
merged 1 commit into from
May 22, 2023
Merged

Minor lints, making Clippy happier #189

merged 1 commit into from
May 22, 2023

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented May 21, 2023

  • Default::default is hard to read
  • a few map -> map_or
  • simplified match -> let-if

@nyurik nyurik force-pushed the lint branch 3 times, most recently from 6b0d1cd to 17bdac6 Compare May 21, 2023 19:47
* `Default::default` is hard to read
* a few `map` -> `map_or`
* simplified `match` -> `let-if`

Signed-off-by: Yuri Astrakhan <[email protected]>
Copy link
Member

@joshka joshka left a comment

Choose a reason for hiding this comment

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

LGTM (all changes reviewed)

@joshka joshka merged commit 3f9935b into ratatui:main May 22, 2023
@joshka
Copy link
Member

joshka commented May 22, 2023

Merged. Thanks for your contributions

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.

3 participants