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