diff options
Diffstat (limited to 'src/color.rs')
-rw-r--r-- | src/color.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<S: serde::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> { use serde::ser::SerializeStruct; let s = serializer.serialize_struct("ColorSettings", 0)?; |