diff --git a/src/data.rs b/src/data.rs
index 9e1a3c5..9a005f7 100644
--- a/src/data.rs
+++ b/src/data.rs
@@ -55,8 +55,7 @@ impl Display for Card {
(None, None) => write!(f, "? ATK / ? DEF")?,
}
}
- f.write_str("
")?;
- f.write_str(&self.text)?;
+ write!(f, "
{}
", &self.text)?; Ok(()) } } diff --git a/src/main.rs b/src/main.rs index dfcca32..214fd2e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,6 +21,8 @@ static CARDS_BY_ID: LazyLock