Skip to content

Commit b3242f4

Browse files
Fix rustdoc lints
1 parent 4029050 commit b3242f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/portable-simd/crates/core_simd/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ extern "platform-intrinsic" {
103103
/// val: vector of values to select if a lane is masked
104104
/// ptr: vector of pointers to read from
105105
/// mask: a "wide" mask of integers, selects as if simd_select(mask, read(ptr), val)
106-
/// note, the LLVM intrinsic accepts a mask vector of <N x i1>
106+
/// note, the LLVM intrinsic accepts a mask vector of `<N x i1>`
107107
/// FIXME: review this if/when we fix up our mask story in general?
108108
pub(crate) fn simd_gather<T, U, V>(val: T, ptr: U, mask: V) -> T;
109109
/// llvm.masked.scatter

library/portable-simd/crates/core_simd/src/ops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ macro_rules! unsafe_base {
4040

4141
/// SAFETY: This macro should not be used for anything except Shl or Shr, and passed the appropriate shift intrinsic.
4242
/// It handles performing a bitand in addition to calling the shift operator, so that the result
43-
/// is well-defined: LLVM can return a poison value if you shl, lshr, or ashr if rhs >= <Int>::BITS
43+
/// is well-defined: LLVM can return a poison value if you shl, lshr, or ashr if `rhs >= <Int>::BITS`
4444
/// At worst, this will maybe add another instruction and cycle,
4545
/// at best, it may open up more optimization opportunities,
4646
/// or simply be elided entirely, especially for SIMD ISAs which default to this.

0 commit comments

Comments
 (0)