Drop support for logging a single event

This commit is contained in:
Greg Fitzgerald 2018-05-09 08:12:33 -06:00
parent 77a76f0783
commit 1d4d0272ca
1 changed files with 0 additions and 4 deletions

View File

@ -15,7 +15,6 @@ use std::time::{Duration, Instant};
#[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))]
pub enum Signal {
Tick,
Event(Event),
Events(Vec<Event>),
}
@ -78,9 +77,6 @@ impl Recorder {
Signal::Tick => {
self.record_entry()?;
}
Signal::Event(event) => {
self.events.push(event);
}
Signal::Events(events) => {
self.events.extend(events);
self.record_entry()?;