uuid: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-12-07 11:50:27 +01:00
parent d851078eae
commit 5e490dd7a0

View File

@ -168,9 +168,9 @@ impl From<Box<[u8; 16]>> for Uuid {
}
}
impl Into<[u8; 16]> for Uuid {
fn into(self) -> [u8; 16] {
*self.0
impl From<Uuid> for [u8; 16] {
fn from(this: Uuid) -> [u8; 16] {
*this.0
}
}