Bump serde_json from 1.0.145 to 1.0.146 #47
Closed
Annotations
2 warnings
|
Run clippy action:
src/background_service.rs#L69
warning: this can be `std::io::Error::other(_)`
--> src/background_service.rs:69:20
|
69 | return Err(Error::new(
| ____________________^
70 | | std::io::ErrorKind::Other,
71 | | "Can't open Event File",
72 | | ));
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#io_other_error
help: use `std::io::Error::other`
|
69 ~ return Err(Error::other(
70 ~ "Can't open Event File",
|
|
|
Run clippy action:
src/background_service.rs#L43
warning: this can be `std::io::Error::other(_)`
--> src/background_service.rs:43:17
|
43 | Err(Error::new(
| _________________^
44 | | std::io::ErrorKind::Other,
45 | | "Error, can't daemonize",
46 | | ))
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#io_other_error
= note: `#[warn(clippy::io_other_error)]` on by default
help: use `std::io::Error::other`
|
43 ~ Err(Error::other(
44 ~ "Error, can't daemonize",
|
|
Loading