diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-05 15:48:16 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-05 15:48:16 +0100 |
| commit | b17907faf8d9693cef94a6048d802bd4ced9102f (patch) | |
| tree | 1bd87c40e85af675a96b63672163b4caaa174364 /src/archiver/gopher.rs | |
| parent | d7fef30ac3f539975ef9edbba8e0af4a4e9ff3de (diff) | |
Deal with all lints
Diffstat (limited to 'src/archiver/gopher.rs')
| -rw-r--r-- | src/archiver/gopher.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archiver/gopher.rs b/src/archiver/gopher.rs index fc0c04f..454e8c4 100644 --- a/src/archiver/gopher.rs +++ b/src/archiver/gopher.rs @@ -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) |