Fix Clippy range-loop warning in crop alignment test
This commit is contained in:
parent
0a5f893bad
commit
2aa4c72a00
|
|
@ -6795,9 +6795,9 @@ mod tests {
|
|||
x.map_or(30.0, |v| v * mapping.offset_limits[0]),
|
||||
y.map_or(-20.0, |v| v * mapping.offset_limits[1]),
|
||||
];
|
||||
for axis in 0..2 {
|
||||
for (actual_offset, expected_offset) in actual.offset.iter().zip(expected) {
|
||||
assert!(
|
||||
(actual.offset[axis] - expected[axis]).abs() < 1e-7,
|
||||
(actual_offset - expected_offset).abs() < 1e-7,
|
||||
"button {index}"
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
- Fix the crop-alignment regression test’s Clippy range-loop warning so CI passes with warnings denied; retain both offset assertions.
|
||||
|
||||
- Rename the positioning toggle to “Use a different measure point”.
|
||||
|
||||
- Keep the example presentation visible for every output format, adapting its title, grid, tagline and screen labels to the new dimensions.
|
||||
|
|
|
|||
Loading…
Reference in New Issue