diff --git a/tests/by-util/test_split.rs b/tests/by-util/test_split.rs index ebcc0926d..d55e13644 100644 --- a/tests/by-util/test_split.rs +++ b/tests/by-util/test_split.rs @@ -22,6 +22,7 @@ use std::{ fn random_chars(n: usize) -> String { thread_rng() .sample_iter(&rand::distributions::Alphanumeric) + .map(char::from) .take(n) .collect::() }