From c78c47cff25c077271097ef64d56d7397f1e0b1f Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 27 Jul 2022 10:51:22 +0200 Subject: [PATCH] uuid: clippy fixes Signed-off-by: Wolfgang Bumiller --- proxmox-uuid/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-uuid/src/lib.rs b/proxmox-uuid/src/lib.rs index bcaedefb..9dea3f9b 100644 --- a/proxmox-uuid/src/lib.rs +++ b/proxmox-uuid/src/lib.rs @@ -67,7 +67,7 @@ impl Uuid { /// Get a reference to the internal 16 byte array. pub fn as_bytes(&self) -> &[u8; 16] { - &*self.0 + &self.0 } /// Take out the inner boxed 16 byte array.