makes clippy happy

This commit is contained in:
Tamo 2024-11-20 17:40:58 +01:00
parent 21a2264782
commit 71807cac6d
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -73,7 +73,7 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
)); ));
snap.push_str(&snapshot_bitmap(&processing.processing)); snap.push_str(&snapshot_bitmap(&processing.processing));
if let Some(ref batch) = processing.batch { 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(&snapshot_batch(&batch.to_batch()));
} }
snap.push_str("\n----------------------------------------------------------------------\n"); snap.push_str("\n----------------------------------------------------------------------\n");