Skip to content

Commit 36d90ff

Browse files
committed
style: run cargo fmt
1 parent c10acec commit 36d90ff

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

crates/core/src/llm_refine.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,10 @@ pub fn refine_entities(
605605

606606
fn eprint_progress(batch_idx: usize, total: usize, current_name: &str, _total_batches: usize) {
607607
let width = 40;
608-
let filled = batch_idx.saturating_mul(width).checked_div(total).unwrap_or(0);
608+
let filled = batch_idx
609+
.saturating_mul(width)
610+
.checked_div(total)
611+
.unwrap_or(0);
609612
let bar = format!("{:█<1$}{:░<2$}", "", filled, width - filled);
610613
let name = if current_name.len() > 30 {
611614
&current_name[..30]

0 commit comments

Comments
 (0)