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

Improve docstring of load_files

This commit is contained in:
Steffo 2022-07-31 12:36:51 +02:00
parent 2e9e63ed9f
commit db09f3c0cf
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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()