]> git.r.bdr.sh - rbdr/blog/blobdiff - src/archiver/gemini.rs
Deal with all lints
[rbdr/blog] / src / archiver / gemini.rs
index b74d27b230c3a5885e1149f510aa99a0257949d4..298ace8e5352f39261aff0a51b41377f4bbf06f6 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)