Make sure that signatures aren't accidental refinements
This commit is contained in:
parent
280657066a
commit
a2cdcd53bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue