]> git.r.bdr.sh - rbdr/blog/blobdiff - src/archiver/gopher.rs
Deal with all lints
[rbdr/blog] / src / archiver / gopher.rs
index fc0c04f221a6516a58397ee652de76e5a252a368..454e8c4ba8b6feeda7ea9b831999a798400a7314 100644 (file)
@@ -1,4 +1,4 @@
-use crate::template::{find, parse, TemplateContext};
+use crate::template::{find, parse, Context};
 use std::fs::write;
 use std::io::{Error, ErrorKind::Other, Result};
 use std::path::Path;
@@ -9,7 +9,7 @@ pub fn archive(
     _: &Path,
     template_directory: &Path,
     target: &Path,
-    context: &TemplateContext,
+    context: &Context,
 ) -> Result<()> {
     if let Some(template) = find(template_directory, FILENAME) {
         let parsed_template = parse(&template)