From faec345e84c3c0abf51350cfdfdcbf7fe6bf31fd Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Mon, 10 Jan 2022 22:43:45 +0200 Subject: [PATCH] remove compiler warning (#1698) --- components/imageproc/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/imageproc/src/lib.rs b/components/imageproc/src/lib.rs index e54e5424..fef75730 100644 --- a/components/imageproc/src/lib.rs +++ b/components/imageproc/src/lib.rs @@ -377,8 +377,6 @@ impl EnqueueResponse { /// taking care of file stale status based on timestamps and possible hash collisions. #[derive(Debug)] pub struct Processor { - /// The base path of the Zola site - base_path: PathBuf, base_url: String, output_dir: PathBuf, /// A map of a ImageOps by their stored hash. @@ -394,7 +392,6 @@ impl Processor { Processor { output_dir: base_path.join("static").join(RESIZED_SUBDIR), base_url: config.make_permalink(RESIZED_SUBDIR), - base_path, img_ops: HashMap::new(), img_ops_collisions: Vec::new(), }