From d7fef30ac3f539975ef9edbba8e0af4a4e9ff3de Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 5 Jan 2025 00:38:55 +0100 Subject: Commit batch of lints to allow autofix --- src/utils.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils.rs') diff --git a/src/utils.rs b/src/utils.rs index c9d8426..4522f4c 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,8 +1,8 @@ -use std::io::Result; -use std::path::PathBuf; use std::fs::{copy, create_dir_all, read_dir}; +use std::io::Result; +use std::path::Path; -pub fn recursively_copy(source: &PathBuf, target: &PathBuf) -> Result<()> { +pub fn recursively_copy(source: &Path, target: &Path) -> Result<()> { let entries = read_dir(source)?; for entry in entries { let entry = entry?; -- cgit