From 636bb8c5461752598e68a647df8a5fd17485bb6f Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Thu, 6 Nov 2025 19:29:23 +0530 Subject: [PATCH] fix: clippy warnings --- etl/src/replication/stream.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etl/src/replication/stream.rs b/etl/src/replication/stream.rs index 549df5188..555b18b73 100644 --- a/etl/src/replication/stream.rs +++ b/etl/src/replication/stream.rs @@ -132,10 +132,10 @@ impl EventsStream { // If the new LSN is less than the last one, we can safely ignore it, since we only want // to report monotonically increasing LSN values. - if let Some(last_flush_lsn) = this.last_flush_lsn { - if flush_lsn < *last_flush_lsn { - flush_lsn = *last_flush_lsn; - } + if let Some(last_flush_lsn) = this.last_flush_lsn + && flush_lsn < *last_flush_lsn + { + flush_lsn = *last_flush_lsn; } // If we are not forced to send an update, we can willingly do so based on a set of conditions.