fix clippy warnings

This commit is contained in:
Alexander Sieg 2021-09-09 15:05:57 +02:00
parent df65081785
commit 3f09a6abdd

View file

@ -478,6 +478,7 @@ impl VerificationMachine {
verification.receive_done(event.sender(), c); verification.receive_done(event.sender(), c);
} }
#[allow(clippy::single_match)]
match self.get_verification(event.sender(), flow_id.as_str()) { match self.get_verification(event.sender(), flow_id.as_str()) {
Some(Verification::SasV1(sas)) => { Some(Verification::SasV1(sas)) => {
let content = sas.receive_any_event(event.sender(), &content); let content = sas.receive_any_event(event.sender(), &content);