This repository has been archived by the owner on May 7, 2024. It is now read-only.
Release v0.1.1
#3
Annotations
3 warnings
you seem to be trying to use `match` for an equality check. Consider using `if`:
src/main.rs#L308
warning: you seem to be trying to use `match` for an equality check. Consider using `if`
--> src/main.rs:308:6
|
308 | / match i {
309 | | "502 Bad Gateway" =>
310 | | tracing::warn!("it's best to set up your own electrumx proxy"),
311 | | _ => (),
312 | | }
| |_____________________^ help: try: `if i == "502 Bad Gateway" { tracing::warn!("it's best to set up your own electrumx proxy") }`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
|
you seem to be trying to use `match` for an equality check. Consider using `if`:
src/main.rs#L308
warning: you seem to be trying to use `match` for an equality check. Consider using `if`
--> src/main.rs:308:6
|
308 | / match i {
309 | | "502 Bad Gateway" =>
310 | | tracing::warn!("it's best to set up your own electrumx proxy"),
311 | | _ => (),
312 | | }
| |_____________________^ help: try: `if i == "502 Bad Gateway" { tracing::warn!("it's best to set up your own electrumx proxy") }`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
|
Task cargo clippy
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/
|