From 5e490dd7a0d79bc6aae1832646da2eb02e5021bc Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 7 Dec 2021 11:50:27 +0100 Subject: [PATCH] uuid: clippy fixes Signed-off-by: Wolfgang Bumiller --- proxmox-uuid/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmox-uuid/src/lib.rs b/proxmox-uuid/src/lib.rs index 9089c29e..928b5feb 100644 --- a/proxmox-uuid/src/lib.rs +++ b/proxmox-uuid/src/lib.rs @@ -168,9 +168,9 @@ impl From> for Uuid { } } -impl Into<[u8; 16]> for Uuid { - fn into(self) -> [u8; 16] { - *self.0 +impl From for [u8; 16] { + fn from(this: Uuid) -> [u8; 16] { + *this.0 } }