silence lint
This commit is contained in:
parent
32db4fb383
commit
7fe4fbe423
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue