Merge pull request #539 from Takashiidobe/patch-1

Fix typo in v4.rs
This commit is contained in:
Ashley Mannix 2021-10-31 14:54:51 +10:00 committed by GitHub
commit 682099ab1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)