Tidy the ported drag block, and format fill.rs as master left it

This commit is contained in:
2026-09-20 21:40:20 +02:00
parent 2014c80e62
commit 94b39410bc
3 changed files with 13 additions and 15 deletions
+10 -2
View File
@@ -745,8 +745,16 @@ mod tests {
tile: 64,
seen: Vec::new(),
};
let tiles = fill_border(&mut rgb, 300, 40, &known, &mut model, test_params(0), &mut |_, _| {})
.unwrap();
let tiles = fill_border(
&mut rgb,
300,
40,
&known,
&mut model,
test_params(0),
&mut |_, _| {},
)
.unwrap();
assert!(tiles > 0, "no tile fitted a picture shorter than the tile");
for i in 0..300 * 40 {
if !known[i] {