Merge pull request #701 from pitkley/dependabot/cargo/tokio-1.35.1 #923
GitHub Actions / clippy
failed
Jan 5, 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.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check failure on line 167 in src/process.rs
github-actions / clippy
accessing first element with `v.get(0)`
error: accessing first element with `v.get(0)`
--> src/process.rs:167:27
|
167 | .and_then(|v| v.get(0))
| ^^^^^^^^ help: try: `v.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
Check failure on line 167 in src/process.rs
github-actions / clippy
accessing first element with `v.get(0)`
error: accessing first element with `v.get(0)`
--> src/process.rs:167:27
|
167 | .and_then(|v| v.get(0))
| ^^^^^^^^ help: try: `v.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
Loading