From dbcdbbf5d497b95189907a0f76a25e2c9b792471 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 11 Jul 2024 14:17:54 +0000 Subject: [PATCH] automatic cargo CI changes --- src/clock.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clock.rs b/src/clock.rs index 213e5ac..f3b6464 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -1,7 +1,7 @@ #![warn(clippy::pedantic, clippy::style, clippy::nursery)] #![allow(clippy::question_mark_used)] -use chrono::{DateTime, Local, SubsecRound, TimeZone, Timelike}; +use chrono::{DateTime, Local, SubsecRound, Timelike}; use clap::Parser; use libpt::cli::args::HELP_TEMPLATE; use libpt::cli::clap::ArgGroup; @@ -94,8 +94,8 @@ impl UiData { pub fn changed(&self) -> bool { // the timebar ratio is discarded, so that we only render the ui when the time // (second) changes - let r = self.fdate[0] != self.fdate[1] || self.ftime[0] != self.ftime[1]; - r + + self.fdate[0] != self.fdate[1] || self.ftime[0] != self.ftime[1] } #[must_use]