use semantic var names, apply minor optimizations

This commit is contained in:
yggverse 2025-08-08 17:55:45 +03:00
parent eea10011ed
commit c3bb7c8b4c
2 changed files with 54 additions and 36 deletions

View file

@ -119,7 +119,10 @@ async fn main() -> Result<()> {
)),
// the destination folder to preload files match `preload_regex`
// * e.g. images for audio albums
output_folder: preload.tmp(&i, true)?.to_str().map(|s| s.to_string()),
output_folder: preload
.tmp_dir(&i, true)?
.to_str()
.map(|s| s.to_string()),
..Default::default()
}),
),