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

chore: release (#21) #21

chore: release (#21)

chore: release (#21) #21

Triggered via push May 1, 2024 13:33
Status Success
Total duration 32s
Artifacts

check.yml

on: push
check  /  ...  /  fmt
6s
check / stable / fmt
check  /  ...  /  doc
19s
check / nightly / doc
check  /  ...  /  check
21s
check / 1.76.0 / check
Matrix: check / clippy
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L30
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:30:33 | 30 | let border_height = self.borders.intersects(Borders::TOP) as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::TOP))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless = note: `-W clippy::cast-lossless` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::cast_lossless)]`
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L31
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:31:19 | 31 | + self.borders.intersects(Borders::BOTTOM) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::BOTTOM))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L32
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:32:32 | 32 | let border_width = self.borders.intersects(Borders::LEFT) as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::LEFT))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L33
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:33:19 | 33 | + self.borders.intersects(Borders::RIGHT) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::RIGHT))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L30
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:30:33 | 30 | let border_height = self.borders.intersects(Borders::TOP) as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::TOP))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless = note: `-W clippy::cast-lossless` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::cast_lossless)]`
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L31
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:31:19 | 31 | + self.borders.intersects(Borders::BOTTOM) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::BOTTOM))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L32
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:32:32 | 32 | let border_width = self.borders.intersects(Borders::LEFT) as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::LEFT))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
casting `bool` to `usize` is more cleanly stated with `usize::from(_)`: src/widget.rs#L33
warning: casting `bool` to `usize` is more cleanly stated with `usize::from(_)` --> src/widget.rs:33:19 | 33 | + self.borders.intersects(Borders::RIGHT) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(self.borders.intersects(Borders::RIGHT))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless