floats iter 1.2 fixup: replace iter-N comment with durable rationale for explicit assertions

This commit is contained in:
2026-05-10 14:44:14 +02:00
parent aa5b88e8d4
commit 93bae2d02a
+4 -1
View File
@@ -49,7 +49,10 @@ mod tests {
"lockstep violation for {name:?}"
);
}
// Float is a primitive (Floats milestone, iter 1).
// The loop's assert_eq! passes vacuously when both functions
// return `false`/`None` for a name; the explicit assertions
// below catch the case where a primitive is silently removed
// from both functions but stays in the loop list.
assert!(is_primitive_name("Float"), "Float must be a primitive");
assert_eq!(
primitive_surface_name("Float"),