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:
parent
6300623886
commit
53186dd959
1 changed files with 9 additions and 1 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue