chore: clippy

This commit is contained in:
Nathan 2025-04-08 20:23:25 +08:00
parent d1d598940d
commit 23f2d85e70

View File

@ -10,7 +10,7 @@ use zip::write::FileOptions;
use zip::ZipWriter;
use zip::{CompressionMethod, ZipArchive};
pub fn copy_dir_recursive(src: &Path, dst: &PathBuf) -> io::Result<()> {
pub fn copy_dir_recursive(src: &Path, dst: &Path) -> io::Result<()> {
for entry in WalkDir::new(src).into_iter().filter_map(|e| e.ok()) {
let path = entry.path();
let relative_path = path.strip_prefix(src).unwrap();