crypto: Fix a clippy warning.

master
Damir Jelić 2020-08-21 16:46:28 +02:00
parent b3941ca254
commit edea5e1c51
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ mod test {
.next() .next()
.unwrap(); .unwrap();
let txn_id = request.request_id().clone(); let txn_id = *request.request_id();
let r = if let OutgoingRequests::ToDeviceRequest(r) = request.request() { let r = if let OutgoingRequests::ToDeviceRequest(r) = request.request() {
r r