Skip to content

Minor fix on types used for VersionVector #59

Minor fix on types used for VersionVector

Minor fix on types used for VersionVector #59

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Jul 12, 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(|| ()) {
| -------^^^^^------------------------------ 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