silence lint

This commit is contained in:
Joe Ardent 2023-02-21 12:47:50 -08:00
parent 32db4fb383
commit 7fe4fbe423

View file

@ -15,10 +15,12 @@ impl Default for ActionDebugInstant {
} }
impl ActionDebugInstant { impl ActionDebugInstant {
#[allow(dead_code)]
pub fn reset(&mut self) { pub fn reset(&mut self) {
self.0 = Instant::now(); self.0 = Instant::now();
} }
#[allow(dead_code)]
pub fn elapsed(&self) -> Duration { pub fn elapsed(&self) -> Duration {
self.0.elapsed() self.0.elapsed()
} }