From 08f5df1f0a2e22876a5b49a4f9e2e05a61df882a Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 26 Oct 2026 21:56:20 +0100 Subject: make clippy happy again --- src/remake/vote.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/remake/vote.rs') diff --git a/src/remake/vote.rs b/src/remake/vote.rs index 9bc8890..d5b167f 100644 --- a/src/remake/vote.rs +++ b/src/remake/vote.rs @@ -272,10 +272,10 @@ pub(super) async fn cast(host: &H) { return; }; // Only with the content in hand: a committed remake must have it on a majority. - if let Some(reference) = &content { - if content::available_or_fetch(host, reference).is_none() { - return; - } + if let Some(reference) = &content + && content::available_or_fetch(host, reference).is_none() + { + return; } // Spread over half a keepalive interval, so later voters see the earlier votes // (the worker checks every second). -- cgit v1.3.1