We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0607f86 commit b9605f4Copy full SHA for b9605f4
src/bin/server.rs
@@ -113,8 +113,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
113
let server = server.with_graceful_shutdown(async move {
114
// Wait for either signal
115
futures_util::select! {
116
- _ = sig_int.recv().fuse() => (),
117
- _ = sig_term.recv().fuse() => (),
+ _ = sig_int.recv().fuse() => {},
+ _ = sig_term.recv().fuse() => {},
118
};
119
let mut stdout = tokio::io::stdout();
120
stdout.write_all(b"Starting graceful shutdown\n").await.ok();
0 commit comments