Xithrius / twitch-tui

Twitch chat in the terminal.
https://xithrius.github.io/twitch-tui/
Apache License 2.0
451 stars 32 forks source link

Fix clippy lints introduced with rust 1.78 #595

Closed Nogesma closed 5 months ago

Nogesma commented 5 months ago

This should fix all new clippy warnings that were introduced with rust 1.78. Most of them were fixed by replacing ToString implementations with Display.

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 51 lines in your changes are missing coverage. Please review.

Project coverage is 19.26%. Comparing base (e6f497e) to head (07418a9).

Files Patch % Lines
src/ui/components/channel_switcher.rs 0.00% 17 Missing :warning:
src/handlers/state.rs 0.00% 15 Missing :warning:
src/handlers/user_input/events.rs 0.00% 7 Missing :warning:
src/handlers/storage.rs 0.00% 3 Missing :warning:
src/twitch/channels.rs 0.00% 2 Missing :warning:
src/ui/components/chat_input.rs 0.00% 2 Missing :warning:
src/ui/components/message_search.rs 0.00% 2 Missing :warning:
src/ui/components/utils/input_widget.rs 0.00% 2 Missing :warning:
src/ui/components/following.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #595 +/- ## ========================================== - Coverage 19.30% 19.26% -0.04% ========================================== Files 41 41 Lines 5076 5086 +10 ========================================== Hits 980 980 - Misses 4096 4106 +10 ```

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

Xithrius commented 5 months ago

Thanks!