mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +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
|
@ -12,4 +12,5 @@ teloxide = "0.10.1"
|
|||
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
|
||||
log = "0.4.17"
|
||||
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.
|
||||
name: String,
|
||||
/// Unique seven-character identifier of the card.
|
||||
card_code: [char; 7],
|
||||
card_code: String,
|
||||
|
||||
/// List of keywords of this card, with their localized names.
|
||||
keywords: Vec<String>,
|
||||
|
|
Loading…
Reference in a new issue