From 71fa76f42eb4c7edd75308acd2444379e8e80339 Mon Sep 17 00:00:00 2001 From: monosans Date: Wed, 24 Dec 2025 11:29:17 +0300 Subject: [PATCH] fix: improve trait implementation for CompactStrJoin --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 086f067..608325f 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -41,7 +41,7 @@ pub trait CompactStrJoin: Iterator { } #[expect(clippy::missing_trait_methods)] -impl CompactStrJoin for T where T: Iterator {} +impl CompactStrJoin for T {} pub fn pretty_error(e: &crate::Error) -> compact_str::CompactString { e.chain().join(" \u{2192} ")