Make sure that signatures aren't accidental refinements

This commit is contained in:
Michael Goulet 2023-04-28 17:36:49 +00:00
parent 280657066a
commit a2cdcd53bf

View File

@ -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)
}
}