Skip to content

Commit 1ff41d3

Browse files
committed
Merge from rustc
2 parents a0d853c + a2cdcd5 commit 1ff41d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/core_simd/src/masks/full_masks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ where
257257
}
258258
}
259259

260-
impl<T, const LANES: usize> core::convert::From<Mask<T, LANES>> for Simd<T, LANES>
260+
impl<T, const LANES: usize> From<Mask<T, LANES>> for Simd<T, LANES>
261261
where
262262
T: MaskElement,
263263
LaneCount<LANES>: SupportedLaneCount,

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)