From 54253e4fe2313ba527de3446c3ac0a2c29044281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Wo=C5=9B?= Date: Tue, 12 Sep 2023 11:26:52 +0200 Subject: [PATCH] clippy --- packages/fuel-indexer/src/commands/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fuel-indexer/src/commands/run.rs b/packages/fuel-indexer/src/commands/run.rs index d41c5a080..e8b49c202 100644 --- a/packages/fuel-indexer/src/commands/run.rs +++ b/packages/fuel-indexer/src/commands/run.rs @@ -168,7 +168,7 @@ pub async fn exec(args: IndexerArgs) -> anyhow::Result<()> { // Each subsystem runs its own loop, and we require all subsystems for the // Indexer service to operate correctly. If any of the subsystems stops // running, the entire Indexer Service exits. - if let Some(_) = subsystems.join_next().await { + if subsystems.join_next().await.is_some() { subsystems.shutdown().await; }