From 71807cac6da144ee6596c5fff5c49904771717ec Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 20 Nov 2024 17:40:58 +0100 Subject: [PATCH] makes clippy happy --- crates/index-scheduler/src/insta_snapshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/index-scheduler/src/insta_snapshot.rs b/crates/index-scheduler/src/insta_snapshot.rs index 2faae23fc..bcd5966b5 100644 --- a/crates/index-scheduler/src/insta_snapshot.rs +++ b/crates/index-scheduler/src/insta_snapshot.rs @@ -73,7 +73,7 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String { )); snap.push_str(&snapshot_bitmap(&processing.processing)); if let Some(ref batch) = processing.batch { - snap.push_str("\n"); + snap.push('\n'); snap.push_str(&snapshot_batch(&batch.to_batch())); } snap.push_str("\n----------------------------------------------------------------------\n");