chore: release v0.2.4 (#129) #252
Annotations
5 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run clippy action:
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
|
Run clippy action:
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
|
Run clippy action:
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<'_> {
|
|
Run clippy action:
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<'_> {
|
|
Loading