diff --git a/src/algorithms/randomness/rand-passwd.md b/src/algorithms/randomness/rand-passwd.md index 8c74662e..3d8ae548 100644 --- a/src/algorithms/randomness/rand-passwd.md +++ b/src/algorithms/randomness/rand-passwd.md @@ -7,7 +7,7 @@ a-z, 0-9`, with [`Alphanumeric`] sample. ```rust,edition2018 use rand::{rng, Rng}; -use rand::distributions::Alphanumeric; +use rand::distr::Alphanumeric; fn main() { let rand_string: String = rng()