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