From e8b5f901bb1749161a897afcc7fdb9e56db8c6a4 Mon Sep 17 00:00:00 2001 From: monosans Date: Thu, 25 Dec 2025 10:08:42 +0300 Subject: [PATCH] refactor: improve import statements for clarity --- src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 67c2793..e9d6c9f 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,4 +1,4 @@ -use std::fmt::Write as _; +use std::fmt::{Display, Write as _}; pub async fn is_docker() -> bool { #[cfg(target_os = "linux")] @@ -21,7 +21,7 @@ pub async fn is_docker() -> bool { pub trait CompactStrJoin: Iterator { fn join(&mut self, sep: &str) -> compact_str::CompactString where - Self::Item: std::fmt::Display, + Self::Item: Display, { self.next().map_or_else( || compact_str::CompactString::const_new(""),