Skip to content

Commit c24b830

Browse files
committed
chore: fix clippy, #5971
1 parent e62a07c commit c24b830

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

stacks-signer/src/v0/signer_state.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,9 @@ impl ReplayState {
128128
return Some(Self::Unset);
129129
}
130130

131-
match scope_opt {
132-
Some(scope) => Some(Self::InProgress(replay_set.clone(), scope.clone())),
133-
None => None,
134-
}
131+
scope_opt
132+
.as_ref()
133+
.map(|scope| Self::InProgress(replay_set.clone(), scope.clone()))
135134
}
136135
}
137136

0 commit comments

Comments
 (0)