Another fix for old Rust

This commit is contained in:
Vinzent Steinberg
2021-05-08 20:33:46 -03:00
parent da94e87819
commit 70efd2e180
+1 -1
View File
@@ -33,7 +33,7 @@ fn normal() {
let mut bin_centers = hist.centers();
let mut expected = [0.; 100];
for e in &mut expected {
for e in &mut expected[..] {
*e = pdf(bin_centers.next().unwrap());
}