automatic cargo CI changes

This commit is contained in:
PlexSheep 2024-07-09 23:35:57 +00:00 committed by github-actions[bot]
parent befb05730f
commit 18ca798988
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, Datelike, Local, NaiveDateTime, SubsecRound, Timelike};
use chrono::{DateTime, Datelike, Local, SubsecRound, Timelike};
use clap::Parser;
use libpt::cli::args::HELP_TEMPLATE;
use libpt::cli::clap::ArgGroup;
@ -37,7 +37,7 @@ impl TimeBarLength {
impl Default for TimeBarLength {
fn default() -> Self {
TimeBarLength::Minute
Self::Minute
}
}
@ -45,7 +45,7 @@ impl Default for TimeBarLength {
#[derive(Parser, Debug, Clone)]
#[command(help_template = HELP_TEMPLATE, author, version)]
#[clap(group( ArgGroup::new("timebarlen") .args(&["minute","day", "hour", "custom"]),))]
pub(crate) struct Clock {
pub struct Clock {
#[command(flatten)]
pub verbose: VerbosityLevel,
/// Show time since start