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

Use explicit format syntax so IntelliJ Rust does not complain about unused vars

This commit is contained in:
Steffo 2022-08-08 16:22:03 +02:00
parent 6300623886
commit 53186dd959
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -67,7 +67,15 @@ pub fn display_card(globals: &LocalizedGlobalsIndexes, card: &Card) -> String {
);
format!(
"{title}{breadcrumbs}{keywords}{stats}{description}{levelup}-----\n{flavor}{artist}",
"{}{}{}{}{}{}-----\n{}{}",
&title,
&breadcrumbs,
&keywords,
&stats,
&description,
&levelup,
&flavor,
&artist,
)
}