Closed
Description
#[test]
fn m128_max() {
let a: m128 = cast([5.0_f32, 6.0, 7.0, 8.5]);
let b: m128 = cast([-8.0_f32, 4.0, 12.0, 0.5]);
let out: [f32; 4] = cast(a.max(b));
assert_eq!(out, [5.0_f32, 6.0, 12.0, 8.5]);
assert_eq!(out[0], [5.0_f32, 6.0, 12.0, 8.5][0]);
}
the second assert triggers clippy, the first doesn't.