ksud: fmt

This commit is contained in:
weishu 2024-02-29 20:34:50 +08:00
parent 5355625ed6
commit ed254b7ab4
No known key found for this signature in database
GPG Key ID: 6D3F65FFD9559C06

View File

@ -285,9 +285,7 @@ pub fn copy_module_files(source: impl AsRef<Path>, destination: impl AsRef<Path>
if entry.file_type().is_file() {
std::fs::copy(&source_path, &dest_path).with_context(|| {
format!(
"Failed to copy file from {source_path:?} to {dest_path:?}",
)
format!("Failed to copy file from {source_path:?} to {dest_path:?}",)
})?;
copy_xattrs(&source_path, &dest_path)?;
} else if entry.file_type().is_symlink() {