update ns definition

This commit is contained in:
yggverse 2025-08-18 19:08:20 +03:00
parent 5025e178a4
commit 8f0b6790cd

View file

@ -20,9 +20,9 @@ async fn main() -> Result<()> {
use tokio::time; use tokio::time;
// debug // debug
if std::env::var("RUST_LOG").is_ok() { if std::env::var("RUST_LOG").is_ok() {
use tracing_subscriber::fmt::{time::FormatTime, *}; use tracing_subscriber::fmt::*;
struct T; struct T;
impl FormatTime for T { impl time::FormatTime for T {
fn format_time(&self, w: &mut format::Writer<'_>) -> std::fmt::Result { fn format_time(&self, w: &mut format::Writer<'_>) -> std::fmt::Result {
write!(w, "{}", Local::now()) write!(w, "{}", Local::now())
} }