Make sure that signatures aren't accidental refinements
This commit is contained in:
parent
280657066a
commit
a2cdcd53bf
@ -71,7 +71,7 @@ macro_rules! deref_ops {
|
||||
|
||||
#[inline]
|
||||
#[must_use = "operator returns a new vector without mutating the inputs"]
|
||||
fn $call(self, rhs: &$simd) -> Self::Output {
|
||||
fn $call(self, rhs: &'rhs $simd) -> Self::Output {
|
||||
(*self).$call(*rhs)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user