From b3e5a997184c97118c83c97fb2ada84f3ef0ea4b Mon Sep 17 00:00:00 2001 From: Gitea CI Date: Tue, 16 Jan 2024 09:30:55 +0000 Subject: [PATCH] automatic cargo CI changes --- members/libpt-bin/src/ccc/mod.rs | 2 +- members/libpt-log/src/error.rs | 2 +- members/libpt-log/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/members/libpt-bin/src/ccc/mod.rs b/members/libpt-bin/src/ccc/mod.rs index c00f35a..45bb35a 100644 --- a/members/libpt-bin/src/ccc/mod.rs +++ b/members/libpt-bin/src/ccc/mod.rs @@ -15,7 +15,7 @@ #![warn(clippy::pedantic)] //// IMPORTS /////////////////////////////////////////////////////////////////////////////////////// -use libpt::ccc::*; + use libpt::log::*; use clap::Parser; diff --git a/members/libpt-log/src/error.rs b/members/libpt-log/src/error.rs index 812c630..780885c 100644 --- a/members/libpt-log/src/error.rs +++ b/members/libpt-log/src/error.rs @@ -12,9 +12,9 @@ #![warn(clippy::pedantic)] //// IMPORTS /////////////////////////////////////////////////////////////////////////////////////// -use tracing::subscriber::SetGlobalDefaultError; use anyhow; use thiserror::Error; +use tracing::subscriber::SetGlobalDefaultError; //// TYPES ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/members/libpt-log/src/lib.rs b/members/libpt-log/src/lib.rs index 562e522..e459b4b 100644 --- a/members/libpt-log/src/lib.rs +++ b/members/libpt-log/src/lib.rs @@ -30,7 +30,7 @@ pub use tracing::{debug, error, info, trace, warn, Level}; use tracing_appender; use tracing_subscriber::{fmt::format::FmtSpan, prelude::*}; -use anyhow::{Result,bail}; +use anyhow::{bail, Result}; //// CONSTANTS ///////////////////////////////////////////////////////////////////////////////////// /// The log level used when none is specified