Skip to content

Commit ce034e3

Browse files
committed
Update to newest master
1 parent 21ce229 commit ce034e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ from_map_impl!(PgJson, Json, |buf| {
163163
from_option_impl!(Json)
164164

165165
from_map_impl!(PgUuid, Uuid, |buf| {
166-
Uuid::from_utf8(buf.as_slice()).unwrap()
166+
Uuid::from_bytes(buf.as_slice()).unwrap()
167167
})
168168
from_option_impl!(Uuid)
169169

0 commit comments

Comments
 (0)