Note to self as a todo comment
This commit is contained in:
1 parent
bd2b3a8a29
commit
c0f0a3a017
1 file changed
+3
@@ -2,6 +2,9 @@ use std::{error, fmt, str};
|
||||
|
||||
use crate::hex::{self, HexBytes};
|
||||
|
||||
// TODO: make conformity to RFC 4122 an invariant of this type (which means it cannot be created
|
||||
// safely from an arbitrary [u8; 16]).
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
#[repr(transparent)]
|
||||
pub struct Uuid([u8; 16]);
|
||||
|
||||
Reference in new issue
Block a user