Skip to content

Commit b9605f4

Browse files
committed
Make clippy happy
1 parent 0607f86 commit b9605f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
113113
let server = server.with_graceful_shutdown(async move {
114114
// Wait for either signal
115115
futures_util::select! {
116-
_ = sig_int.recv().fuse() => (),
117-
_ = sig_term.recv().fuse() => (),
116+
_ = sig_int.recv().fuse() => {},
117+
_ = sig_term.recv().fuse() => {},
118118
};
119119
let mut stdout = tokio::io::stdout();
120120
stdout.write_all(b"Starting graceful shutdown\n").await.ok();

0 commit comments

Comments
 (0)