chore: apply clippy recos

This commit is contained in:
Edouard Vanbelle
2026-07-19 16:20:18 +02:00
parent 35f4984463
commit d4ae23ef13
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -184,8 +184,8 @@ async fn section_face_boxes(pool: &PgPool) {
// Equivalence gate: same (id, person_id, bbox) set both ways, all N present.
let mut b = boxes_before(pool, file_id, user_id).await;
let mut a = boxes_after(pool, file_id, user_id).await;
b.sort_by(|x, y| x.0.cmp(&y.0));
a.sort_by(|x, y| x.0.cmp(&y.0));
b.sort_by_key(|x| x.0);
a.sort_by_key(|x| x.0);
assert_eq!(b, a, "face-box projections differ");
assert_eq!(a.len(), n, "expected all faces");
println!("# [Q1] gate: wide/narrow face-box sets identical ({n} faces) — OK");