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

Use String instead of a char array for card_code

This commit is contained in:
Steffo 2022-07-31 10:21:54 +02:00
parent 6ce4ba12b1
commit 72e75a795f
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -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>,