[2024-12-19] Suppress warning about implicit default
This commit is contained in:
parent
932247bb7c
commit
2219a148fd
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ mod tictoc {
|
|||
Ok(Init::new())
|
||||
}
|
||||
|
||||
#[pyo3(signature = (tic=None))]
|
||||
fn toc(&mut self, tic: Option<Init>) -> PyResult<Results> {
|
||||
let elapsed_time = match tic {
|
||||
Some(ref tic) => tic.time.elapsed(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue