From ca25b2d6945daebd1a7e93f8d03ea95b970d7480 Mon Sep 17 00:00:00 2001 From: Christopher Hotchkiss Date: Sat, 4 Sep 2021 10:54:06 -0400 Subject: [PATCH] Finally figured out how to clean up this warning --- src/feophant.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feophant.rs b/src/feophant.rs index fc3ba4f..66ca3ed 100644 --- a/src/feophant.rs +++ b/src/feophant.rs @@ -50,7 +50,7 @@ impl FeOphant { /// Starts up the actual server, should be started as its own task /// Send on the shutdown_recv to shut it down. pub async fn start(&self, shutdown_recv: UnboundedReceiver>) { - let mut shutdown_sender: Option> = None; + let shutdown_sender: Option>; info!("Up and listening on port {}", self.port); let listen = &self.listener;