diff options
| author | Michael Goulet <michael@errs.io> | 2023-04-28 17:36:49 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-04-28 17:36:49 +0000 |
| commit | a2cdcd53bffd1c21b5093b1001d0fbbaf2bbac2f (patch) | |
| tree | f1db82bf48a274ef873c155b8e4e5e26b21ab2ec | |
| parent | 280657066a144645a4d42a5be84b25329f456a38 (diff) | |
| download | rust-a2cdcd53bffd1c21b5093b1001d0fbbaf2bbac2f.tar.gz rust-a2cdcd53bffd1c21b5093b1001d0fbbaf2bbac2f.zip | |
Make sure that signatures aren't accidental refinements
| -rw-r--r-- | crates/core_simd/src/ops/deref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core_simd/src/ops/deref.rs b/crates/core_simd/src/ops/deref.rs index 9883a74c92d..302bf148bd3 100644 --- a/crates/core_simd/src/ops/deref.rs +++ b/crates/core_simd/src/ops/deref.rs @@ -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) } } |
