1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Remove unnecessary reference

This commit is contained in:
Steffo 2023-09-13 18:29:04 +02:00
parent fb67ee7907
commit c321ff6b15
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -120,7 +120,7 @@ fn display_stats(card: &Card) -> String {
fn display_subtypes(subtypes: &[CardSubtype]) -> String {
let result = subtypes
.iter()
.map(|s| titlecase(&s))
.map(|s| titlecase(s))
.map(|s| escape(&s))
.map(|s| format!("<i>{s}</i>"))
.join(", ");