journald: fix clippy unwrap_or_default
warning
#4786
GitHub Actions / clippy
failed
Oct 9, 2023 in 1s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check failure on line 19 in tracing-attributes/tests/async_fn.rs
github-actions / clippy
redundant redefinition of a binding
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
Loading