From 0fba9d45882163e9aa03b5ec41ca7cffe31f7f42 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Fri, 30 Dec 2022 13:57:43 +1300 Subject: [PATCH] Get rid of unused overlord.private_key --- src/overlord/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/overlord/mod.rs b/src/overlord/mod.rs index e15ac503..bde0b9fe 100644 --- a/src/overlord/mod.rs +++ b/src/overlord/mod.rs @@ -29,9 +29,6 @@ pub struct Overlord { // Vec of urls our minions are handling urls_watching: Vec, - - #[allow(dead_code)] - private_key: Option, // note that PrivateKey already zeroizes on drop } impl Overlord { @@ -43,7 +40,6 @@ impl Overlord { minions: task::JoinSet::new(), minions_task_url: HashMap::new(), urls_watching: Vec::new(), - private_key: None, } }