diff options
| author | Ben Striegel <ben.striegel@gmail.com> | 2013-02-11 23:04:10 -0500 |
|---|---|---|
| committer | Ben Striegel <ben.striegel@gmail.com> | 2013-02-13 12:47:44 -0500 |
| commit | 3a3f7b8e557aa9ff8e99a11c826ffc6e1147e414 (patch) | |
| tree | 10f07dfd8b0c7eec392e650ec09ac9369c36a3a3 | |
| parent | 2d2ed075e3c549e8bb1980de26a106de965e51c8 (diff) | |
| download | rust-3a3f7b8e557aa9ff8e99a11c826ffc6e1147e414.tar.gz rust-3a3f7b8e557aa9ff8e99a11c826ffc6e1147e414.zip | |
RIMOV core::rand
| -rw-r--r-- | src/libcore/rand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/rand.rs b/src/libcore/rand.rs index 452ab945251..1881bd784c4 100644 --- a/src/libcore/rand.rs +++ b/src/libcore/rand.rs @@ -350,7 +350,7 @@ impl Rng { } /// Shuffle a mutable vec in place - fn shuffle_mut<T>(values: &[mut T]) { + fn shuffle_mut<T>(values: &mut [T]) { let mut i = values.len(); while i >= 2u { // invariant: elements with index >= i have been locked in place. |
