tracing-journald: remove unnecessary mut
#4609
CI.yml
on: pull_request
cargo check
54s
Matrix: cargo check (feature combinations)
Matrix: cargo check (+MSRV -Zminimal-versions)
Matrix: build tests (wasm)
Matrix: cargo test (wasm)
warnings
32s
Matrix: test
all systems go!
0s
Annotations
3 errors and 1 warning
use of `default` to create a unit struct:
tracing-subscriber/src/fmt/time/mod.rs#L51
error: use of `default` to create a unit struct
--> tracing-subscriber/src/fmt/time/mod.rs:51:15
|
51 | SystemTime::default()
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `-D clippy::default-constructed-unit-structs` implied by `-D warnings`
|
warnings
Clippy had exited with the 101 exit code
|
cargo test (wasm) (tracing)
Process completed with exit code 1.
|
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/
|