From 8e44159dd6a8d90fe2d592a8a745dd715d261493 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Fri, 4 Nov 2022 13:44:17 +0100 Subject: [PATCH] Fixes an uncaught clippy issue prior to rust 1.65.0 --- teos/src/extended_appointment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teos/src/extended_appointment.rs b/teos/src/extended_appointment.rs index b39db0fa..88920de0 100644 --- a/teos/src/extended_appointment.rs +++ b/teos/src/extended_appointment.rs @@ -22,7 +22,7 @@ impl UUID { /// Therefore, it provides a hard-to-forge id while reducing the tower lookups and the required data to be stored (no reverse maps). pub fn new(locator: Locator, user_id: UserId) -> Self { let mut uuid_data = locator.to_vec(); - uuid_data.extend(&user_id.0.serialize()); + uuid_data.extend(user_id.0.serialize()); UUID(ripemd160::Hash::hash(&uuid_data).into_inner()) }