mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 10:04:21 +00:00
Use String
instead of a char
array for card_code
This commit is contained in:
parent
6ce4ba12b1
commit
72e75a795f
2 changed files with 3 additions and 2 deletions
|
@ -13,3 +13,4 @@ tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
glob = "0.3.0"
|
glob = "0.3.0"
|
||||||
|
itertools = "0.10.2"
|
||||||
|
|
|
@ -41,7 +41,7 @@ pub struct Card {
|
||||||
/// Localized name of the card.
|
/// Localized name of the card.
|
||||||
name: String,
|
name: String,
|
||||||
/// Unique seven-character identifier of the card.
|
/// Unique seven-character identifier of the card.
|
||||||
card_code: [char; 7],
|
card_code: String,
|
||||||
|
|
||||||
/// List of keywords of this card, with their localized names.
|
/// List of keywords of this card, with their localized names.
|
||||||
keywords: Vec<String>,
|
keywords: Vec<String>,
|
||||||
|
|
Loading…
Reference in a new issue