Skip to content

Commit

Permalink
Fixes an uncaught clippy issue prior to rust 1.65.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-gi committed Nov 4, 2022
1 parent 2765a4c commit 8e44159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teos/src/extended_appointment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 8e44159

Please sign in to comment.