journald: fix clippy unwrap_or_default
warning
#4786
CI.yml
on: pull_request
cargo check
1m 10s
Matrix: cargo check (feature combinations)
Matrix: cargo check (+MSRV -Zminimal-versions)
Matrix: build tests (wasm)
Matrix: cargo test (wasm)
warnings
1m 33s
Matrix: test
all systems go!
1s
Annotations
2 errors and 1 warning
redundant redefinition of a binding:
tracing-attributes/tests/async_fn.rs#L19
error: redundant redefinition of a binding
--> tracing-attributes/tests/async_fn.rs:19:30
|
19 | async fn test_ret_impl_trait(n: i32) -> Result<impl Iterator<Item = i32>, ()> {
| ^
20 | let n = n;
| ^^^^^^^^^^
|
= help: remove the redefinition of `n`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
= note: `#[deny(clippy::redundant_locals)]` on by default
|
warnings
Clippy had exited with the 101 exit code
|
warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|