Skip to content

Commit be315e2

Browse files
committed
text-stub-library: use non-deprecated function
1 parent c177e36 commit be315e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text-stub-library/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ mod tests {
175175
10
176176
};
177177

178-
let mut rng = rand::thread_rng();
178+
let mut rng = rand::rng();
179179
tbd_paths.shuffle(&mut rng);
180180

181181
for path in tbd_paths.iter().take(tbd_paths.len() * percentage / 100) {

0 commit comments

Comments
 (0)