Fix clippy warning

This commit is contained in:
Vinzent Steinberg 2018-07-27 16:52:01 +02:00
parent bb994f0f22
commit f9dee3bf9b

View File

@ -226,7 +226,7 @@ macro_rules! define_histogram {
impl ::core::ops::MulAssign<u64> for Histogram {
#[inline]
fn mul_assign(&mut self, other: u64) {
for x in self.bin.iter_mut() {
for x in &mut self.bin[..] {
*x *= other;
}
}