crypto: Fix a clippy warning.

This commit is contained in:
Damir Jelić 2020-08-21 16:46:28 +02:00
parent b3941ca254
commit edea5e1c51

View file

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