Skip to content

Commit

Permalink
fix dummy impl
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Oct 14, 2024
1 parent 610a89c commit 7305645
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/perf_counter/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use std::any::Any;
///
/// Stores one counter group per bench id.
#[derive(Default)]
#[allow(missing_copy_implementations)]
pub struct PerfCounterPlugin {}

impl EventListener for PerfCounterPlugin {
Expand All @@ -16,5 +17,5 @@ impl EventListener for PerfCounterPlugin {
fn name(&self) -> &'static str {
PERF_CNT_EVENT_LISTENER_NAME
}
fn on_event(&mut self, event: PluginEvents) {}
fn on_event(&mut self, _event: PluginEvents) {}
}

0 comments on commit 7305645

Please sign in to comment.