]> git.r.bdr.sh - rbdr/blog/blobdiff - src/archiver/raw.rs
Deal with all lints
[rbdr/blog] / src / archiver / raw.rs
index c3dc1cf098bd2de89619dc8111a1fa36aa437e5f..ce7ecb718e7c510928ef7ae14182d9a59319e2e7 100644 (file)
@@ -1,14 +1,9 @@
-use crate::template::TemplateContext;
+use crate::template::Context;
 use crate::utils::recursively_copy;
 use std::io::Result;
 use std::path::Path;
 
-pub fn archive(
-    archive_directory: &Path,
-    _: &Path,
-    target: &Path,
-    _: &TemplateContext,
-) -> Result<()> {
+pub fn archive(archive_directory: &Path, _: &Path, target: &Path, _: &Context) -> Result<()> {
     if archive_directory.exists() {
         return recursively_copy(archive_directory, target);
     }