uuid: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-07-27 10:51:22 +02:00
parent 6cac8d5cbe
commit c78c47cff2

View File

@ -67,7 +67,7 @@ impl Uuid {
/// Get a reference to the internal 16 byte array. /// Get a reference to the internal 16 byte array.
pub fn as_bytes(&self) -> &[u8; 16] { pub fn as_bytes(&self) -> &[u8; 16] {
&*self.0 &self.0
} }
/// Take out the inner boxed 16 byte array. /// Take out the inner boxed 16 byte array.