Update Rust crate rand to 0.9.0 (#15899)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
renovate[bot] 2025-02-03 12:25:57 +01:00 committed by GitHub
parent d082c1b202
commit 638186afbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 109 additions and 35 deletions

View file

@ -177,7 +177,7 @@ impl Notebook {
};
if id.is_none() {
loop {
let new_id = uuid::Builder::from_random_bytes(rng.gen())
let new_id = uuid::Builder::from_random_bytes(rng.random())
.into_uuid()
.as_simple()
.to_string();