Update Rust to edition 2024
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 15:09:21 +01:00
parent c6e53d5790
commit ca6b5d398b
19 changed files with 28 additions and 25 deletions

View File

@ -3,4 +3,4 @@ use rand::distr::{Alphanumeric, SampleString};
/// Generate a random string of a given length
pub fn rand_str(len: usize) -> String {
Alphanumeric.sample_string(&mut rand::rng(), len)
}
}