Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsvl committed Mar 25, 2022
1 parent 7fd1033 commit 7005ed6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ where

// Bind to the address and serve
let address = address.into();
info!(
"{}",
write!(f, "{}", format!("serving on: {:?}", address.to_string()))
);
info!("{}", format!("serving on: {:?}", address.to_string()));
let listener = TcpListener::bind(address).await?;

// Loop over incoming TCP connections until `initialize` returns `None`
Expand Down

0 comments on commit 7005ed6

Please sign in to comment.