Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Integration: format

aiongg9487b8022062
diff --git a/crates/compose/src/lib.rs b/crates/compose/src/lib.rs
index d5ac25860..124e93471 100644
--- a/crates/compose/src/lib.rs
+++ b/crates/compose/src/lib.rs
@@ -2962,7 +2962,8 @@ fn wrap_slot(
}
} else {
// Segments before the first that `holds` the line's first word stay empty.
- let segs: Vec<(f64, f64)> = free_slots(f, col, b - asc, b, desc, size, rtl, line_start).into_iter().skip_while(|seg| !holds(seg)).collect();
+ let segs: Vec<(f64, f64)> =
+ free_slots(f, col, b - asc, b, desc, size, rtl, line_start).into_iter().skip_while(|seg| !holds(seg)).collect();
if !segs.is_empty() {
return Some((b, segs));
}