From 7fe4fbe423edbacf1b93e1459d7fda2e9441ad23 Mon Sep 17 00:00:00 2001 From: Joe Ardent Date: Tue, 21 Feb 2023 12:47:50 -0800 Subject: [PATCH] silence lint --- src/action/components.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/action/components.rs b/src/action/components.rs index af6817c..705df20 100644 --- a/src/action/components.rs +++ b/src/action/components.rs @@ -15,10 +15,12 @@ impl Default for ActionDebugInstant { } impl ActionDebugInstant { + #[allow(dead_code)] pub fn reset(&mut self) { self.0 = Instant::now(); } + #[allow(dead_code)] pub fn elapsed(&self) -> Duration { self.0.elapsed() }