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;