Wrap the face-sweep repair match the way rustfmt wants it
Benchmarks / CPU and I/O (per commit) (push) Successful in 4m5s
Benchmarks / Frame budget (on demand) (push) Skipped
Build and test / Desktop (Linux) (push) Failing after 39m17s
Build and test / Layer separation (push) Successful in 1m24s
🐳 Android image / Build and push (push) Successful in 10s
Build and test / android-image (push) Successful in 10s
Traceability / Requirement traces (push) Successful in 55s
Build and test / Android (aarch64) (push) Successful in 27m8s
Benchmarks / CPU and I/O (per commit) (push) Successful in 4m5s
Benchmarks / Frame budget (on demand) (push) Skipped
Build and test / Desktop (Linux) (push) Failing after 39m17s
Build and test / Layer separation (push) Successful in 1m24s
🐳 Android image / Build and push (push) Successful in 10s
Build and test / android-image (push) Successful in 10s
Traceability / Requirement traces (push) Successful in 55s
Build and test / Android (aarch64) (push) Successful in 27m8s
CI's Desktop job failed at the Format step on 16f3fb4: rustfmt puts the
`match faces_without_proxy(...)` on its own line under the `let` and
re-indents its arms, and the commit was written without running it. No
code changes; only the layout of that one match in library.rs.
This commit is contained in:
+12
-13
@@ -3568,23 +3568,22 @@ pub fn spawn_face_sweep(
|
||||
// un-indexed ones. Appended instead, they sit two hours of fetching
|
||||
// down the queue and the screen stays empty for the whole session —
|
||||
// which is indistinguishable from the repair not existing.
|
||||
let mut wanted: Vec<(ThumbnailRequest, SweepWork)> = match faces_without_proxy(
|
||||
&catalog, &store, &model_id,
|
||||
) {
|
||||
Ok(repair) => {
|
||||
if !repair.is_empty() {
|
||||
log::info!(
|
||||
let mut wanted: Vec<(ThumbnailRequest, SweepWork)> =
|
||||
match faces_without_proxy(&catalog, &store, &model_id) {
|
||||
Ok(repair) => {
|
||||
if !repair.is_empty() {
|
||||
log::info!(
|
||||
"face sweep: repairing {} image(s) whose faces have no proxy to crop from",
|
||||
repair.len()
|
||||
);
|
||||
}
|
||||
repair.into_iter().map(|r| (r, SweepWork::Detect)).collect()
|
||||
}
|
||||
repair.into_iter().map(|r| (r, SweepWork::Detect)).collect()
|
||||
}
|
||||
Err(e) => {
|
||||
log::warn!("face sweep: looking for orphaned faces: {e}");
|
||||
Vec::new()
|
||||
}
|
||||
};
|
||||
Err(e) => {
|
||||
log::warn!("face sweep: looking for orphaned faces: {e}");
|
||||
Vec::new()
|
||||
}
|
||||
};
|
||||
|
||||
// Then the faces to measure again. Behind the proxy repair and ahead
|
||||
// of the rest for the same reason that one leads: these are faces the
|
||||
|
||||
Reference in New Issue
Block a user