Further improvements #1094
GitHub Actions / Clippy (1.65.0)
failed
Nov 20, 2023 in 0s
Clippy (1.65.0)
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.65.0 (897e37553 2022-11-02)
- cargo 1.65.0 (4bc8f24d3 2022-10-20)
- clippy 0.1.65 (897e375 2022-11-02)
Annotations
Check failure on line 635 in src/issuance.rs
github-actions / Clippy (1.65.0)
match expression looks like `matches!` macro
error: match expression looks like `matches!` macro
--> src/issuance.rs:631:21
|
631 | / match (x.source(), y.source()) {
632 | | (None, None) => true,
633 | | (Some(_), Some(_)) => true,
634 | | _ => false,
635 | | }
| |_____________________^ help: try this: `matches!((x.source(), y.source()), (None, None) | (Some(_), Some(_)))`
|
= note: `-D clippy::match-like-matches-macro` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
Loading