From 80ac8ea036093307ae51277db1d96427f3883545 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 24 Jun 2025 15:18:49 -0700 Subject: [PATCH] [core] Import std::fmt and remove std:: from Display symbol spelling --- core/src/colors.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, "{}",