generated from PlexSheep/rs-base
automatic cargo CI changes
This commit is contained in:
parent
8c74f9123a
commit
dbcdbbf5d4
|
@ -1,7 +1,7 @@
|
||||||
#![warn(clippy::pedantic, clippy::style, clippy::nursery)]
|
#![warn(clippy::pedantic, clippy::style, clippy::nursery)]
|
||||||
#![allow(clippy::question_mark_used)]
|
#![allow(clippy::question_mark_used)]
|
||||||
|
|
||||||
use chrono::{DateTime, Local, SubsecRound, TimeZone, Timelike};
|
use chrono::{DateTime, Local, SubsecRound, Timelike};
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use libpt::cli::args::HELP_TEMPLATE;
|
use libpt::cli::args::HELP_TEMPLATE;
|
||||||
use libpt::cli::clap::ArgGroup;
|
use libpt::cli::clap::ArgGroup;
|
||||||
|
@ -94,8 +94,8 @@ impl UiData {
|
||||||
pub fn changed(&self) -> bool {
|
pub fn changed(&self) -> bool {
|
||||||
// the timebar ratio is discarded, so that we only render the ui when the time
|
// the timebar ratio is discarded, so that we only render the ui when the time
|
||||||
// (second) changes
|
// (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]
|
#[must_use]
|
||||||
|
|
Reference in New Issue