mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable semicolon_if_nothing_returned lint
This commit is contained in:
parent
96e1877639
commit
db4951c5fd
14 changed files with 27 additions and 26 deletions
|
|
@ -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?;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue