forked from Proxmox/proxmox
uuid: clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
d851078eae
commit
5e490dd7a0
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user