summaryrefslogtreecommitdiffstats
path: root/vendor/rayon/src/slice/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rayon/src/slice/test.rs')
-rw-r--r--vendor/rayon/src/slice/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rayon/src/slice/test.rs b/vendor/rayon/src/slice/test.rs
index 4325aa88d..f74ca0f74 100644
--- a/vendor/rayon/src/slice/test.rs
+++ b/vendor/rayon/src/slice/test.rs
@@ -10,7 +10,7 @@ macro_rules! sort {
($f:ident, $name:ident) => {
#[test]
fn $name() {
- let ref mut rng = thread_rng();
+ let rng = &mut thread_rng();
for len in (0..25).chain(500..501) {
for &modulus in &[5, 10, 100] {