Skip to content

Minor refactor on Message and Server #63

Minor refactor on Message and Server

Minor refactor on Message and Server #63

GitHub Actions / clippy succeeded Jul 16, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (1)

src/client/db_client.rs|59 col 16| warning: redundant pattern matching, consider using is_ok()
--> src/client/db_client.rs:59:16
|
59 | if let Ok() = REQUEST_ID.try_with(|| ()) {
| -------^^^^^------------------------------ help: try: if REQUEST_ID.try_with(|_| ()).is_ok()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: #[warn(clippy::redundant_pattern_matching)] on by default