diff --git a/core/src/colors.rs b/core/src/colors.rs index ccf62a7..53e2c1e 100644 --- a/core/src/colors.rs +++ b/core/src/colors.rs @@ -1,6 +1,7 @@ // Eryn Wells use crate::{Direction, score::ScoreInner}; +use std::fmt; use thiserror::Error; #[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)] @@ -66,8 +67,8 @@ impl Color { } } -impl std::fmt::Display for Color { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl fmt::Display for Color { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!( f, "{}",