Fix formatting

This commit is contained in:
Roderick van Domburg 2021-03-27 21:44:01 +01:00
parent cdbce21e71
commit a200b25916

View file

@ -45,7 +45,9 @@ where
packet
.data
.iter()
.map(|sample| ((*sample as f64 + 0.5) / (std::i16::MAX as f64 + 0.5)) as f32)
.map(|sample| {
((*sample as f64 + 0.5) / (std::i16::MAX as f64 + 0.5)) as f32
})
.collect(),
)));
}