Ci bump #9
GitHub Actions / clippy
succeeded
Sep 9, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.0 (5680fa18f 2023-08-23)
- cargo 1.72.0 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (5680fa1 2023-08-23)
Annotations
Check warning on line 706 in src/lib.rs
github-actions / clippy
redundant pattern matching, consider using `is_err()`
warning: redundant pattern matching, consider using `is_err()`
--> src/lib.rs:706:24
|
706 | if let Err(..) = self.waiting.send((thread::current(), self.head)) {
| -------^^^^^^^---------------------------------------------------- help: try this: `if self.waiting.send((thread::current(), self.head)).is_err()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
Check warning on line 526 in src/lib.rs
github-actions / clippy
redundant pattern matching, consider using `is_err()`
warning: redundant pattern matching, consider using `is_err()`
--> src/lib.rs:526:16
|
526 | if let Err(..) = self.broadcast_inner(val, true) {
| -------^^^^^^^---------------------------------- help: try this: `if self.broadcast_inner(val, true).is_err()`
|
= note: this will change drop order of the result, as well as all temporaries
= note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: `#[warn(clippy::redundant_pattern_matching)]` on by default
Check warning on line 224 in src/lib.rs
github-actions / clippy
lint `clippy::drop_ref` has been renamed to `dropping_references`
warning: lint `clippy::drop_ref` has been renamed to `dropping_references`
--> src/lib.rs:224:21
|
224 | #[allow(clippy::drop_ref)]
| ^^^^^^^^^^^^^^^^ help: use the new name: `dropping_references`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
Loading