[core] Import std::fmt and remove std:: from Display symbol spelling

This commit is contained in:
Eryn Wells 2025-06-24 15:18:49 -07:00
parent 9f2dc3fa76
commit 80ac8ea036

View file

@ -1,6 +1,7 @@
// Eryn Wells <eryn@erynwells.me>
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,
"{}",