From 1789551855a8290caad59d3849bab16c56158c70 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Fri, 8 Jan 2021 18:28:45 -0700 Subject: Fix trivial lint issues --- src/bin/activate.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/bin/activate.rs') diff --git a/src/bin/activate.rs b/src/bin/activate.rs index 554702c..bf8c907 100644 --- a/src/bin/activate.rs +++ b/src/bin/activate.rs @@ -23,7 +23,6 @@ use thiserror::Error; #[macro_use] extern crate log; -#[macro_use] extern crate serde_derive; /// Remote activation utility for deploy-rs @@ -426,7 +425,7 @@ async fn main() -> Result<(), Box> { // Ensure that this process stays alive after the SSH connection dies let mut signals = Signals::new(&[SIGHUP])?; std::thread::spawn(move || { - for sig in signals.forever() { + for _ in signals.forever() { println!("Received NOHUP - ignoring..."); } }); -- cgit v1.2.3