From d5ce87fe32eb7e41afc8e64d8d47750aa3286df3 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 9 Jul 2024 23:35:57 +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 8a38c49..c22456e 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, 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