Skip to content

Commit

Permalink
Solve clipply offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
fcsonline committed Dec 21, 2022
1 parent 1b5fc37 commit d26fe2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/delay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl Delay {
#[async_trait]
impl Runnable for Delay {
async fn execute(&self, _context: &mut Context, _reports: &mut Reports, _pool: &Pool, config: &Config) {
sleep(Duration::from_secs(self.seconds as u64)).await;
sleep(Duration::from_secs(self.seconds)).await;

if !config.quiet {
println!("{:width$} {}{}", self.name.green(), self.seconds.to_string().cyan().bold(), "s".magenta(), width = 25);
Expand Down

0 comments on commit d26fe2a

Please sign in to comment.