forked from proxmox-mirrors/proxmox-backup
Fixes the clippy lint:
```
warning: redundant pattern matching, consider using `is_ok()`
--> pbs-datastore/src/datastore.rs:1025:10
|
1025 | !matches!(self.inner.gc_mutex.try_lock(), Ok(_))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.inner.gc_mutex.try_lock().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
```
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
|
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||