build(deps): bump clap from 4.4.11 to 4.5.0 #135
GitHub Actions / clippy
failed
Feb 12, 2024 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check failure on line 147 in src/windows/search.rs
github-actions / clippy
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> src/windows/search.rs:147:21
|
147 | search_offsets: &Vec<usize>,
| ^^^^^^^^^^^ help: change this to: `&[usize]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
Check failure on line 147 in src/windows/search.rs
github-actions / clippy
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> src/windows/search.rs:147:21
|
147 | search_offsets: &Vec<usize>,
| ^^^^^^^^^^^ help: change this to: `&[usize]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
Loading