mirror of
https://github.com/uuid-rs/uuid.git
synced 2025-09-30 06:21:02 +00:00
commit
682099ab1e
@ -28,7 +28,7 @@ impl Uuid {
|
||||
let mut bytes = [0u8; 16];
|
||||
getrandom::getrandom(&mut bytes).unwrap_or_else(|err| {
|
||||
// NB: getrandom::Error has no source; this is adequate display
|
||||
panic!("could not retreive random bytes for uuid: {}", err)
|
||||
panic!("could not retrieve random bytes for uuid: {}", err)
|
||||
});
|
||||
|
||||
crate::Builder::from_bytes(bytes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user