Tech debt #466
Triggered via pull request
September 19, 2024 19:59
Status
Success
Total duration
3m 27s
Artifacts
–
test.yml
on: pull_request
ubuntu / stable / minimal-versions
1m 30s
ubuntu / stable / coverage
1m 46s
Matrix: os-check
Matrix: required
Annotations
2 warnings
[clippy] src/proto/single/utils.rs#L60:
src/proto/single/utils.rs#L60
warning: redundant closure
--> src/proto/single/utils.rs:60:14
|
60 | .map(|value| (Duration::from_secs(value))))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Duration::from_secs`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
|
[clippy] src/proto/single/utils.rs#L60:
src/proto/single/utils.rs#L60
warning: redundant closure
--> src/proto/single/utils.rs:60:14
|
60 | .map(|value| (Duration::from_secs(value))))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Duration::from_secs`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
|