mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-29 23:04:32 +00:00
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:
parent
d082c1b202
commit
638186afbd
6 changed files with 109 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue