Format fill.rs, which the last release left past the width limit

This commit is contained in:
2026-09-20 22:29:42 +02:00
parent a773ad5c27
commit e166b64ee9
+10 -2
View File
@@ -745,8 +745,16 @@ mod tests {
tile: 64, tile: 64,
seen: Vec::new(), seen: Vec::new(),
}; };
let tiles = fill_border(&mut rgb, 300, 40, &known, &mut model, test_params(0), &mut |_, _| {}) let tiles = fill_border(
.unwrap(); &mut rgb,
300,
40,
&known,
&mut model,
test_params(0),
&mut |_, _| {},
)
.unwrap();
assert!(tiles > 0, "no tile fitted a picture shorter than the tile"); assert!(tiles > 0, "no tile fitted a picture shorter than the tile");
for i in 0..300 * 40 { for i in 0..300 * 40 {
if !known[i] { if !known[i] {