Merge pull request #4 from joshka/dependabot/cargo/tokio-1.39.1 #6
check.yml
on: push
check
/
...
/
fmt
20s
check
/
...
/
doc
26s
check
/
...
/
check
27s
Matrix: check / clippy
Annotations
20 warnings
current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`:
tui-big-text/src/big_text.rs#L108
warning: current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`
--> tui-big-text/src/big_text.rs:108:23
|
108 | let width = 8_u16.div_ceil(step_x);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
= note: `#[warn(clippy::incompatible_msrv)]` on by default
|
current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`:
tui-big-text/src/big_text.rs#L109
warning: current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`
--> tui-big-text/src/big_text.rs:109:24
|
109 | let height = 8_u16.div_ceil(step_y);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L144
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:144:17
|
144 | return Rect::new(state.offset.x, state.offset.y, area.width, area.height);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
144 - return Rect::new(state.offset.x, state.offset.y, area.width, area.height);
144 + Rect::new(state.offset.x, state.offset.y, area.width, area.height)
|
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L150
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:150:17
|
150 | return Rect::new(state.offset.x, 0, area.width, area.height - 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
150 - return Rect::new(state.offset.x, 0, area.width, area.height - 1);
150 + Rect::new(state.offset.x, 0, area.width, area.height - 1)
|
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L156
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:156:17
|
156 | return Rect::new(0, state.offset.y, area.width - 1, area.height);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
156 - return Rect::new(0, state.offset.y, area.width - 1, area.height);
156 + Rect::new(0, state.offset.y, area.width - 1, area.height)
|
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L170
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:170:17
|
170 | / return Rect::new(
171 | | state.offset.x,
172 | | state.offset.y,
173 | | area.width - 1,
174 | | area.height - 1,
175 | | );
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
170 ~ Rect::new(
171 + state.offset.x,
172 + state.offset.y,
173 + area.width - 1,
174 + area.height - 1,
175 ~ )
|
|
package `tui-scrollview` is missing `package.keywords` metadata:
tui-prompts/src/lib.rs#L1
warning: package `tui-scrollview` is missing `package.keywords` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
note: the lint level is defined here
--> tui-prompts/src/lib.rs:1:44
|
1 | #![warn(clippy::pedantic, clippy::nursery, clippy::cargo, unused)]
| ^^^^^^^^^^^^^
= note: `#[warn(clippy::cargo_common_metadata)]` implied by `#[warn(clippy::cargo)]`
|
package `tui-scrollview` is missing `package.categories` metadata:
tui-prompts/src/lib.rs#L1
warning: package `tui-scrollview` is missing `package.categories` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
multiple versions for dependency `windows-targets`: 0.48.5, 0.52.6:
tui-prompts/src/lib.rs#L1
warning: multiple versions for dependency `windows-targets`: 0.48.5, 0.52.6
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
= note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
|
multiple versions for dependency `windows_aarch64_gnullvm`: 0.48.5, 0.52.6:
tui-prompts/src/lib.rs#L1
warning: multiple versions for dependency `windows_aarch64_gnullvm`: 0.48.5, 0.52.6
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`:
tui-big-text/src/big_text.rs#L108
warning: current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`
--> tui-big-text/src/big_text.rs:108:23
|
108 | let width = 8_u16.div_ceil(step_x);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
= note: `#[warn(clippy::incompatible_msrv)]` on by default
|
current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`:
tui-big-text/src/big_text.rs#L109
warning: current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.73.0`
--> tui-big-text/src/big_text.rs:109:24
|
109 | let height = 8_u16.div_ceil(step_y);
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L144
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:144:17
|
144 | return Rect::new(state.offset.x, state.offset.y, area.width, area.height);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
144 - return Rect::new(state.offset.x, state.offset.y, area.width, area.height);
144 + Rect::new(state.offset.x, state.offset.y, area.width, area.height)
|
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L150
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:150:17
|
150 | return Rect::new(state.offset.x, 0, area.width, area.height - 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
150 - return Rect::new(state.offset.x, 0, area.width, area.height - 1);
150 + Rect::new(state.offset.x, 0, area.width, area.height - 1)
|
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L156
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:156:17
|
156 | return Rect::new(0, state.offset.y, area.width - 1, area.height);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
156 - return Rect::new(0, state.offset.y, area.width - 1, area.height);
156 + Rect::new(0, state.offset.y, area.width - 1, area.height)
|
|
unneeded `return` statement:
tui-scrollview/src/scroll_view.rs#L170
warning: unneeded `return` statement
--> tui-scrollview/src/scroll_view.rs:170:17
|
170 | / return Rect::new(
171 | | state.offset.x,
172 | | state.offset.y,
173 | | area.width - 1,
174 | | area.height - 1,
175 | | );
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
170 ~ Rect::new(
171 + state.offset.x,
172 + state.offset.y,
173 + area.width - 1,
174 + area.height - 1,
175 ~ )
|
|
package `tui-scrollview` is missing `package.keywords` metadata:
tui-prompts/src/lib.rs#L1
warning: package `tui-scrollview` is missing `package.keywords` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
note: the lint level is defined here
--> tui-prompts/src/lib.rs:1:44
|
1 | #![warn(clippy::pedantic, clippy::nursery, clippy::cargo, unused)]
| ^^^^^^^^^^^^^
= note: `#[warn(clippy::cargo_common_metadata)]` implied by `#[warn(clippy::cargo)]`
|
package `tui-scrollview` is missing `package.categories` metadata:
tui-prompts/src/lib.rs#L1
warning: package `tui-scrollview` is missing `package.categories` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
multiple versions for dependency `windows-targets`: 0.48.5, 0.52.6:
tui-prompts/src/lib.rs#L1
warning: multiple versions for dependency `windows-targets`: 0.48.5, 0.52.6
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
= note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
|
multiple versions for dependency `windows_aarch64_gnullvm`: 0.48.5, 0.52.6:
tui-prompts/src/lib.rs#L1
warning: multiple versions for dependency `windows_aarch64_gnullvm`: 0.48.5, 0.52.6
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|