mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 10:04:21 +00:00
Improve docstring of load_files
This commit is contained in:
parent
2e9e63ed9f
commit
db09f3c0cf
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ fn load_file_and_warn(path: PathBuf) -> Vec<Card> {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Load all possible data files.
|
/// Create a [Vec] of all cards contained in the data files.
|
||||||
pub fn load_files() -> Vec<Card> {
|
pub fn load_files() -> Vec<Card> {
|
||||||
glob("./data/*/en_us/data/*.json")
|
glob("./data/*/en_us/data/*.json")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
Loading…
Reference in a new issue