Fix for UUID
This commit is contained in:
1 parent
5535231475
commit
8b605ca5c9
1 file changed
+1
-1
+1
-1
@@ -75,7 +75,7 @@ impl Uuid {
|
|||||||
let mut buf = [0u8; 36];
|
let mut buf = [0u8; 36];
|
||||||
|
|
||||||
for (i, byte) in self.0.iter().copied().enumerate() {
|
for (i, byte) in self.0.iter().copied().enumerate() {
|
||||||
let (b0, b1) = hex::byte_to_hex_lower(byte);
|
let [b0, b1] = hex::byte_to_hex_lower(byte);
|
||||||
let offset = match i {
|
let offset = match i {
|
||||||
0..=3 => 0,
|
0..=3 => 0,
|
||||||
4..=5 => 1,
|
4..=5 => 1,
|
||||||
|
|||||||
Reference in new issue
Block a user