This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
chore(deps): bump rstest from 0.19.0 to 0.21.0 in the all-dependencies group #45
Annotations
4 warnings
src/scroll_view.rs#L144
warning: unneeded `return` statement
--> 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)
|
|
src/scroll_view.rs#L150
warning: unneeded `return` statement
--> 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)
|
|
src/scroll_view.rs#L156
warning: unneeded `return` statement
--> 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)
|
|
src/scroll_view.rs#L170
warning: unneeded `return` statement
--> 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 ~ )
|
|
This job succeeded
Loading