diff options
author | Luca Casonato <hello@lcas.dev> | 2022-05-05 12:41:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 12:41:59 +0200 |
commit | 242273e69b5f5add23393e8e96e241696eae88fb (patch) | |
tree | 2605cc3d7728c14c8c81c0a79337658577825fbf /ext/crypto/lib.rs | |
parent | e04f1f1f34656aed0faac88d63314726235cf4b8 (diff) |
chore: update deps (#14416)
Diffstat (limited to 'ext/crypto/lib.rs')
-rw-r--r-- | ext/crypto/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index 3515013f8..6063be1bd 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -792,8 +792,8 @@ pub fn op_crypto_random_uuid(state: &mut OpState) -> Result<String, AnyError> { let mut bytes = [0u8; 16]; seeded_rng.fill(&mut bytes); uuid::Builder::from_bytes(bytes) - .set_version(uuid::Version::Random) - .build() + .with_version(uuid::Version::Random) + .into_uuid() } else { uuid::Uuid::new_v4() }; |