Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

chore: release (#35) #49

chore: release (#35)

chore: release (#35) #49

Triggered via push June 25, 2024 16:18
Status Success
Total duration 1m 3s
Artifacts

check.yml

on: push
check  /  ...  /  fmt
5s
check / stable / fmt
check  /  ...  /  doc
24s
check / nightly / doc
check  /  ...  /  check
26s
check / 1.76.0 / check
Matrix: check / clippy
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
unneeded `return` statement: 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) |
unneeded `return` statement: 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) |
unneeded `return` statement: 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) |
unneeded `return` statement: 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 ~ ) |
unneeded `return` statement: 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) |
unneeded `return` statement: 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) |
unneeded `return` statement: 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) |
unneeded `return` statement: 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 ~ ) |