From 12e67e4b48a58972a5061ce35cbb583aa4f4517a Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 1 Apr 2023 09:17:27 +0200 Subject: [PATCH] chore: rm redundant pin_mut (#2072) --- bin/reth/src/runner.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/reth/src/runner.rs b/bin/reth/src/runner.rs index a7ee1ca9f..e7cf78cae 100644 --- a/bin/reth/src/runner.rs +++ b/bin/reth/src/runner.rs @@ -124,8 +124,7 @@ where let ctrl_c = tokio::signal::ctrl_c(); - pin_mut!(ctrl_c, fut); - pin_mut!(sigterm, fut); + pin_mut!(sigterm, ctrl_c, fut); tokio::select! { _ = ctrl_c => {