automatic cargo CI changes

This commit is contained in:
PlexSheep 2024-07-11 14:17:54 +00:00 committed by github-actions[bot]
parent 8c74f9123a
commit dbcdbbf5d4
1 changed files with 3 additions and 3 deletions

View File

@ -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]