@ -23,7 +23,7 @@ impl Handler for Blyaficator {
|
||||
.split(',')
|
||||
// choose random strings from BLYA_WORDS
|
||||
// and insert them between splitted strings.
|
||||
.random_itersperse(BLYA_WORDS, &mut rand::thread_rng())
|
||||
.random_itersperse(BLYA_WORDS, &mut rand::rngs::OsRng)
|
||||
// Collect it back to vec
|
||||
.collect::<Vec<_>>()
|
||||
// Creating one string with all words concatenated.
|
||||
|
Reference in New Issue
Block a user