diff options
Diffstat (limited to 'src/display/color.rs')
-rw-r--r-- | src/display/color.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/color.rs b/src/display/color.rs index a47e312..c311431 100644 --- a/src/display/color.rs +++ b/src/display/color.rs @@ -1,7 +1,7 @@ use std::convert::TryFrom; #[derive(Clone, Copy, Debug, PartialEq)] -pub enum Color { +pub(crate) enum Color { White, Black, Blue, @@ -55,7 +55,7 @@ impl TryFrom<&str> for Color { #[cfg(test)] mod tests { use super::Color; - use super::TryFrom; + use std::convert::TryFrom; #[test] fn action_try_from_str_black() { |