Skip to content

fix(deps): update tui #260

fix(deps): update tui

fix(deps): update tui #260

GitHub Actions / clippy succeeded Aug 18, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (8)

crates/mirro-rs/src/tui/ui.rs|38 col 18| warning: use of deprecated method ratatui::Frame::<'_>::size: use .area() as its the more correct name
--> crates/mirro-rs/src/tui/ui.rs:38:18
|
38 | let area = f.size();
| ^^^^
|
= note: #[warn(deprecated)] on by default
crates/mirro-rs/src/tui/ui.rs|38 col 18| warning: use of deprecated method ratatui::Frame::<'_>::size: use .area() as its the more correct name
--> crates/mirro-rs/src/tui/ui.rs:38:18
|
38 | let area = f.size();
| ^^^^
|
= note: #[warn(deprecated)] on by default
crates/mirro-rs/src/tui/ui.rs|118 col 23| warning: use of deprecated method ratatui::Frame::<'_>::set_cursor: the method set_cursor_position indicates more clearly what about the cursor to set
--> crates/mirro-rs/src/tui/ui.rs:118:23
|
118 | f.set_cursor(
| ^^^^^^^^^^
crates/mirro-rs/src/tui/ui.rs|118 col 23| warning: use of deprecated method ratatui::Frame::<'_>::set_cursor: the method set_cursor_position indicates more clearly what about the cursor to set
--> crates/mirro-rs/src/tui/ui.rs:118:23
|
118 | f.set_cursor(
| ^^^^^^^^^^
crates/mirro-rs/src/config/mod.rs|22 col 12| warning: field sort is never read
--> crates/mirro-rs/src/config/mod.rs:27:9
|
22 | pub struct Configuration {
| ------------- field in this struct
...
27 | pub sort: ExportSort,
| ^^^^
|
= note: Configuration has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis
= note: #[warn(dead_code)] on by default
crates/mirro-rs/src/tui/state.rs|60 col 12| warning: field last_sync is never read
--> crates/mirro-rs/src/tui/state.rs:67:9
|
60 | pub struct SelectedMirror {
| -------------- field in this struct
...
67 | pub last_sync: Option<DateTime>,
| ^^^^^^^^^
|
= note: SelectedMirror has derived impls for the traits Clone and Debug, but these are intentionally ignored during dead code analysis
crates/mirro-rs/src/config/mod.rs|22 col 12| warning: field sort is never read
--> crates/mirro-rs/src/config/mod.rs:27:9
|
22 | pub struct Configuration {
| ------------- field in this struct
...
27 | pub sort: ExportSort,
| ^^^^
|
= note: Configuration has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis
= note: #[warn(dead_code)] on by default
crates/mirro-rs/src/tui/state.rs|60 col 12| warning: field last_sync is never read
--> crates/mirro-rs/src/tui/state.rs:67:9
|
60 | pub struct SelectedMirror {
| -------------- field in this struct
...
67 | pub last_sync: Option<DateTime>,
| ^^^^^^^^^
|
= note: SelectedMirror has derived impls for the traits Clone and Debug, but these are intentionally ignored during dead code analysis