summaryrefslogtreecommitdiff
path: root/src/monitor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.rs')
-rw-r--r--src/monitor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monitor.rs b/src/monitor.rs
index ffe688a..bde5b37 100644
--- a/src/monitor.rs
+++ b/src/monitor.rs
@@ -1,6 +1,6 @@
use super::*;
-use synth::SampleBuffer;
use std::collections::HashMap;
+use synth::SampleBuffer;
pub struct VoiceDatum {
pitch: Pitch,
@@ -35,4 +35,4 @@ pub trait Monitor {
fn process(&mut self, data: &Data);
}
-pub type MonBox = Box<Monitor>;
+pub type MonBox = Box<dyn Monitor>;