diff options
Diffstat (limited to 'src/components/util/time.rs')
-rw-r--r-- | src/components/util/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/util/time.rs b/src/components/util/time.rs index a9aa8d870ed..151e4385b56 100644 --- a/src/components/util/time.rs +++ b/src/components/util/time.rs @@ -200,7 +200,7 @@ impl Profiler { if data_len > 0 { let (mean, median, min, max) = (data.iter().map(|&x|x).sum() / (data_len as f64), - data.get(data_len / 2).clone(), + *data.get(data_len / 2), data.iter().fold(f64::INFINITY, |a, &b| a.min(b)), data.iter().fold(-f64::INFINITY, |a, &b| a.max(b))); println!("{:-35s}: {:15.4f} {:15.4f} {:15.4f} {:15.4f} {:15u}", |