Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Release v0.1.1

Release v0.1.1 #3

GitHub Actions / clippy succeeded Dec 30, 2023 in 1s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.77.0-nightly (3cdd004e5 2023-12-29)
  • cargo 1.77.0-nightly (ac6bbb332 2023-12-26)
  • clippy 0.1.77 (3cdd004 2023-12-29)

Annotations

Check warning on line 312 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you seem to be trying to use `match` for an equality check. Consider using `if`

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

Check warning on line 312 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you seem to be trying to use `match` for an equality check. Consider using `if`

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