buffer_proto5: silence some warnings

This commit is contained in:
2022-07-28 02:00:51 -07:00
parent fe47eb09f8
commit 917a3d3c9d

View File

@@ -19,6 +19,7 @@ type Mat = IsoConductorOr<f32, Ferroxcube3R1MH>;
#[allow(unused)]
use coremem::geom::{Coord as _, Region as _};
#[allow(unused)]
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
enum PulseType {
Square,
@@ -27,6 +28,7 @@ enum PulseType {
ExpDecay2x,
}
#[allow(unused)]
/// Return just the extrema of some collection
fn extrema(mut meas: Vec<f32>) -> Vec<f32> {
let mut i = 0;