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/archiver/raw.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/archiver/raw.rs') diff --git a/src/archiver/raw.rs b/src/archiver/raw.rs index 5099f2b..c3dc1cf 100644 --- a/src/archiver/raw.rs +++ b/src/archiver/raw.rs @@ -1,9 +1,14 @@ -use std::io::Result; -use std::path::PathBuf; use crate::template::TemplateContext; use crate::utils::recursively_copy; +use std::io::Result; +use std::path::Path; -pub fn archive(archive_directory: &PathBuf, _: &PathBuf, target: &PathBuf, _: &TemplateContext) -> Result<()> { +pub fn archive( + archive_directory: &Path, + _: &Path, + target: &Path, + _: &TemplateContext, +) -> Result<()> { if archive_directory.exists() { return recursively_copy(archive_directory, target); } -- cgit