From e16faf58cc1e47e431bbf110bf9cda0047909630 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 13 May 2024 23:07:39 -0700 Subject: fix cfg(!default,colors,serde) imports, doc comments --- src/color.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/color.rs') diff --git a/src/color.rs b/src/color.rs index c35f482..d50ec8b 100644 --- a/src/color.rs +++ b/src/color.rs @@ -136,12 +136,10 @@ mod termion_color { use crossterm::style; - use serde::Serialize; - use crate::color::{Colored, YaxColors}; #[cfg(feature="use-serde")] - impl Serialize for ColorSettings { + impl serde::Serialize for ColorSettings { fn serialize(&self, serializer: S) -> Result { use serde::ser::SerializeStruct; let s = serializer.serialize_struct("ColorSettings", 0)?; -- cgit v1.1