Skip to content

Commit b2d732a

Browse files
committed
fix clippy error
Signed-off-by: reubenmiller <[email protected]>
1 parent 5b2c490 commit b2d732a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

e2e_tests/src/stress.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ pub struct StressTestConfig {
5656
}
5757

5858
fn generate_string(size: usize) -> String {
59-
thread_rng()
60-
.sample_iter(&Alphanumeric)
61-
.take(size)
62-
.map(char::from)
63-
.collect()
59+
thread_rng().sample_iter(&Alphanumeric).take(size).collect()
6460
}
6561

6662
#[derive(Copy, Clone, Debug, PartialEq)]

0 commit comments

Comments
 (0)