Conformance: the between case makes its targets over the array it fills, as clippy asks

clippy (needless_range_loop, -D warnings) refused the loop that indexed targets[at] by the
colour's index (job m3-max-75986, msi, plain configuration); the loop now walks the array
it fills. The calls and their order are unchanged, so the recording stands.

Verified: formatted; clippy in all three configurations runs next.
This commit is contained in:
Anees Iqbal committed 2026-11-26 20:53:40 -08:00
1 parent d5b2379d91
commit be98ac249c
1 file changed
+3 -3
@@ -219,9 +219,9 @@ impl Case for PassUnattachedBetween {
)?;
// Each pass's own three targets, so neither pass's planes hold the other's draw.
let mut targets = [[Handle(0); 3]; 2];
for (at, role) in ["every", "lacking"].into_iter().enumerate() {
for which in 0..FORMATS.len() {
targets[at][which] = made(
for (made_for, role) in targets.iter_mut().zip(["every", "lacking"]) {
for (which, slot) in made_for.iter_mut().enumerate() {
*slot = made(
sites,
&format!("target:{role}:{which}"),
side.target(&target(which)),