chore(deps): update a range of dependencies #231
check.yml
on: pull_request
check
/
...
/
fmt
12s
check
/
...
/
doc
45s
check
/
...
/
check
50s
Matrix: check / clippy
Annotations
8 warnings
manually reimplementing `div_ceil`:
src/components/help.rs#L84
warning: manually reimplementing `div_ceil`
--> src/components/help.rs:84:13
|
84 | (self.displays.len() + (group_height as usize) - 1) / (group_height as usize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `self.displays.len().div_ceil((group_height as usize))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
= note: `#[warn(clippy::manual_div_ceil)]` on by default
|
this let-binding has unit value:
src/terminal.rs#L7
warning: this let-binding has unit value
--> src/terminal.rs:7:9
|
7 | let _ = ratatui::restore();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `ratatui::restore();`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
|
the following explicit lifetimes could be elided: 'a:
src/widgets/modal.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/widgets/modal.rs:30:6
|
30 | impl<'a> Default for ModalWidget<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
30 - impl<'a> Default for ModalWidget<'a> {
30 + impl Default for ModalWidget<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/widgets/modal.rs#L42
warning: the following explicit lifetimes could be elided: 'a
--> src/widgets/modal.rs:42:6
|
42 | impl<'a> Widget for ModalWidget<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Widget for ModalWidget<'a> {
42 + impl Widget for ModalWidget<'_> {
|
|
manually reimplementing `div_ceil`:
src/components/help.rs#L84
warning: manually reimplementing `div_ceil`
--> src/components/help.rs:84:13
|
84 | (self.displays.len() + (group_height as usize) - 1) / (group_height as usize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `self.displays.len().div_ceil((group_height as usize))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
= note: `#[warn(clippy::manual_div_ceil)]` on by default
|
this let-binding has unit value:
src/terminal.rs#L7
warning: this let-binding has unit value
--> src/terminal.rs:7:9
|
7 | let _ = ratatui::restore();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `ratatui::restore();`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
|
the following explicit lifetimes could be elided: 'a:
src/widgets/modal.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/widgets/modal.rs:30:6
|
30 | impl<'a> Default for ModalWidget<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
30 - impl<'a> Default for ModalWidget<'a> {
30 + impl Default for ModalWidget<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/widgets/modal.rs#L42
warning: the following explicit lifetimes could be elided: 'a
--> src/widgets/modal.rs:42:6
|
42 | impl<'a> Widget for ModalWidget<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Widget for ModalWidget<'a> {
42 + impl Widget for ModalWidget<'_> {
|
|