Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Minor stylistic change

Antonio Scandurra2679e245a5e2
diff --git a/crates/collab/src/main.rs b/crates/collab/src/main.rs
index 26af6442d9f..0f783c13e58 100644
--- a/crates/collab/src/main.rs
+++ b/crates/collab/src/main.rs
@@ -77,8 +77,7 @@ async fn main() -> Result<()> {
.expect("failed to listen for interrupt signal");
let sigterm = sigterm.recv();
let sigint = sigint.recv();
- futures::pin_mut!(sigterm);
- futures::pin_mut!(sigint);
+ futures::pin_mut!(sigterm, sigint);
futures::future::select(sigterm, sigint).await;
tracing::info!("Received interrupt signal");
rpc_server.teardown();