ratatui-org / ratatui

Rust library that's all about cooking up terminal user interfaces (TUIs) 👨‍🍳🐀
https://ratatui.rs
MIT License
8.86k stars 269 forks source link

refactor: simplify if let #1135

Closed EdJoPaTo closed 1 month ago

EdJoPaTo commented 1 month ago

While looking through lints clippy::option_if_let_else found these. Other findings are more complex so I skipped them.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.3%. Comparing base (f429f68) to head (28a9d58).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1135 +/- ## ===================================== Coverage 94.3% 94.3% ===================================== Files 60 60 Lines 14757 14760 +3 ===================================== + Hits 13917 13920 +3 Misses 840 840 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.