mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-25 16:30:03 +00:00
chore: clippy
This commit is contained in:
parent
d1d598940d
commit
23f2d85e70
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user