chore: release v0.1.6 (#116) #228
check.yml
on: push
check
/
...
/
fmt
12s
check
/
...
/
doc
43s
check
/
...
/
check
45s
Matrix: check / clippy
Annotations
6 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
|
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
|
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<'_> {
|
|