From edea5e1c51ccd6210942719689bda2011a0c3982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 21 Aug 2020 16:46:28 +0200 Subject: [PATCH] crypto: Fix a clippy warning. --- matrix_sdk_crypto/src/verification/machine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_crypto/src/verification/machine.rs b/matrix_sdk_crypto/src/verification/machine.rs index e69d5e21..f6aebff8 100644 --- a/matrix_sdk_crypto/src/verification/machine.rs +++ b/matrix_sdk_crypto/src/verification/machine.rs @@ -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