Skip to content

Commit 2338f3f

Browse files
committed
Fix clippy warning
1 parent c1f3bd0 commit 2338f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fn copy_dir(source: impl AsRef<Path>, dest: impl AsRef<Path>) -> Result<(), io::
262262
if entry.file_type()?.is_dir() {
263263
copy_inner(&entry.path(), &new_dest)?;
264264
} else {
265-
fs::copy(&entry.path(), &new_dest)?;
265+
fs::copy(entry.path(), &new_dest)?;
266266
}
267267
}
268268
Ok(())

0 commit comments

Comments
 (0)