Skip to content

Commit 48d6bdf

Browse files
Update uuid dep to 1.x (#228)
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
1 parent 408497e commit 48d6bdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core-foundation/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ version = "0.8.6"
1717

1818
[dependencies]
1919
libc = "0.2"
20-
uuid = { version = "0.5", optional = true }
20+
uuid = { version = "1", optional = true }
2121

2222
[features]
2323
default = ["link"]

core-foundation/src/uuid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl From<CFUUID> for Uuid {
5151
b.byte0, b.byte1, b.byte2, b.byte3, b.byte4, b.byte5, b.byte6, b.byte7, b.byte8,
5252
b.byte9, b.byte10, b.byte11, b.byte12, b.byte13, b.byte14, b.byte15,
5353
];
54-
Uuid::from_bytes(&bytes).unwrap()
54+
Uuid::from_bytes(bytes)
5555
}
5656
}
5757

0 commit comments

Comments
 (0)