Skip to content

Commit a2cdcd5

Browse files
Make sure that signatures aren't accidental refinements
1 parent 2806570 commit a2cdcd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_simd/src/ops/deref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ macro_rules! deref_ops {
7171

7272
#[inline]
7373
#[must_use = "operator returns a new vector without mutating the inputs"]
74-
fn $call(self, rhs: &$simd) -> Self::Output {
74+
fn $call(self, rhs: &'rhs $simd) -> Self::Output {
7575
(*self).$call(*rhs)
7676
}
7777
}

0 commit comments

Comments
 (0)