diff options
author | iximeow <me@iximeow.net> | 2024-05-13 23:07:39 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-05-13 23:07:39 -0700 |
commit | e16faf58cc1e47e431bbf110bf9cda0047909630 (patch) | |
tree | 6b3e44fc672c7f49c51927d53bed1d86152bd615 /src/color.rs | |
parent | ffa12c204743d455ae5ac13473da3387c068c39d (diff) |
fix cfg(!default,colors,serde) imports, doc comments
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)?; |