Skip to content

Commit 5eb1348

Browse files
fix(clippy): use is_some() instead of pattern matching on unit value
Co-authored-by: nacho.d.g <iduartgomez@users.noreply.github.com>
1 parent 2645541 commit 5eb1348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core/src/node/op_state_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ impl OpManager {
555555
}
556556
.into());
557557

558-
if let Some((_key, _)) = self.root_ops_awaiting_sub_ops.remove(&parent_tx) {
558+
if self.root_ops_awaiting_sub_ops.remove(&parent_tx).is_some() {
559559
tracing::warn!(
560560
root_tx = %parent_tx,
561561
child_tx = %child,

0 commit comments

Comments
 (0)