Skip to content

Commit 3a3f7b8

Browse files
committed
RIMOV core::rand
1 parent 2d2ed07 commit 3a3f7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/rand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ impl Rng {
350350
}
351351

352352
/// Shuffle a mutable vec in place
353-
fn shuffle_mut<T>(values: &[mut T]) {
353+
fn shuffle_mut<T>(values: &mut [T]) {
354354
let mut i = values.len();
355355
while i >= 2u {
356356
// invariant: elements with index >= i have been locked in place.

0 commit comments

Comments
 (0)