style: clear two build warnings

- image_model.rs: drop unnecessary parentheses around a map's array
  literal return.
- text_support.rs: remove dead row_in_column / col_rows computation and
  its unused `li` binding (the only consumer).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Fable 5 committed 2026-07-23 11:39:23 +03:00
1 parent fc72827428
commit 0d4bd274b4
2 files changed
+1 -21

No files matched your search

+1 -8
View File
@@ -246,14 +246,7 @@ impl ImageModel {
let pts: Vec<[f64; 2]> = u
.clip_boundary_vertices
.iter()
.map(|p| {
(
[
p.x * u.x_scale / w_du,
p.y * u.y_scale / h_du,
]
)
})
.map(|p| [p.x * u.x_scale / w_du, p.y * u.y_scale / h_du])
.collect();
let mut tris = Vec::with_capacity((pts.len().saturating_sub(2)) * 3);
for i in 1..pts.len() - 1 {