Skip to content

Commit 154798c

Browse files
committed
clippy
1 parent 074d370 commit 154798c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/dkg/src/nodesigs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl NodeSigBcast {
138138
/// Returns a copy of all signatures if every slot is filled, otherwise `None`.
139139
fn all_sigs(sigs: &[Option<Vec<u8>>]) -> Option<Vec<Vec<u8>>> {
140140
if sigs.iter().all(|s| s.is_some()) {
141-
Some(sigs.iter().cloned().flatten().collect())
141+
Some(sigs.iter().flatten().cloned().collect())
142142
} else {
143143
None
144144
}

0 commit comments

Comments
 (0)