Skip to content

Fix request_id forwarding when using Client #57

Fix request_id forwarding when using Client

Fix request_id forwarding when using Client #57

GitHub Actions / clippy succeeded Jul 11, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (1)

src/client/db_client.rs|57 col 16| warning: redundant pattern matching, consider using is_ok()
--> src/client/db_client.rs:57:16
|
57 | if let Ok(_) = REQUEST_ID.try_with(|request_id| request_id.clone()) {
| -------^^^^^------------------------------------------------------- help: try: if REQUEST_ID.try_with(|request_id| request_id.clone()).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