enable semicolon_if_nothing_returned lint

This commit is contained in:
Charles Hall 2024-05-14 19:01:46 -07:00
parent 96e1877639
commit db4951c5fd
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
14 changed files with 27 additions and 26 deletions

View file

@ -230,7 +230,7 @@ async fn run_server() -> io::Result<()> {
sd_notify::notify(true, &[sd_notify::NotifyState::Ready])
.expect("should be able to notify systemd");
server.await?
server.await?;
}
None => {
let server = bind(addr).handle(handle).serve(app);
@ -239,7 +239,7 @@ async fn run_server() -> io::Result<()> {
sd_notify::notify(true, &[sd_notify::NotifyState::Ready])
.expect("should be able to notify systemd");
server.await?
server.await?;
}
}