clippy fix
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
2023-09-21 18:36:59 +02:00
parent 5ec2881f01
commit ffcab9592e
2 changed files with 4 additions and 7 deletions

View File

@ -61,16 +61,15 @@ pub trait CheckTimerCreator {
#[cfg(feature = "std")]
pub struct StdCheckTimer {
expiry_time_seconds: u64,
start_time: std::time::Instant
start_time: std::time::Instant,
}
#[cfg(feature = "std")]
impl StdCheckTimer {
pub fn new(expiry_time_seconds: u64) -> Self {
Self {
expiry_time_seconds,
start_time: std::time::Instant::now()
start_time: std::time::Instant::now(),
}
}
}