Remove many unwrap

This commit is contained in:
micialware committed 2026-08-19 19:21:21 +03:00
1 parent 39f8845119
commit 01f0999772
5 files changed
+40 -21

No files matched your search

+1 -1
View File
@@ -611,7 +611,7 @@ pub fn app_data_dir() -> PathBuf {
let mut dir = dirs::data_dir().unwrap();
dir.push("jap_learn");
if !dir.exists() {
fs::create_dir(dir.clone()).unwrap();
fs::create_dir_all(dir.clone()).unwrap();
}
dir