Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Finally figured out how to clean up this warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chotchki committed Sep 4, 2021
1 parent d95965e commit ca25b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feophant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Sender<()>>) {
let mut shutdown_sender: Option<Sender<()>> = None;
let shutdown_sender: Option<Sender<()>>;
info!("Up and listening on port {}", self.port);

let listen = &self.listener;
Expand Down

0 comments on commit ca25b2d

Please sign in to comment.