diff --git a/Cargo.toml b/Cargo.toml index 4ef49d1876e..98ba373c68f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ rand_chacha = { path = "rand_chacha", version = "0.3.0", default-features = fals [dependencies.packed_simd] # NOTE: so far no version works reliably due to dependence on unstable features package = "packed_simd_2" -version = "0.3.6" +version = "0.3.7" optional = true features = ["into_bits"] diff --git a/src/distributions/uniform.rs b/src/distributions/uniform.rs index 482461f0f13..6b9e70f0839 100644 --- a/src/distributions/uniform.rs +++ b/src/distributions/uniform.rs @@ -1430,7 +1430,7 @@ mod tests { #[test] #[should_panic] fn test_float_overflow() { - Uniform::from(::core::f64::MIN..::core::f64::MAX); + let _ = Uniform::from(::core::f64::MIN..::core::f64::MAX); } #[test]