Skip to content

Commit f204737

Browse files
committed
Rename lanes to elements in docs
1 parent 768579f commit f204737

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

crates/core_simd/src/vector.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,10 @@ where
359359
Self::load_select(slice, Mask::splat(true), or)
360360
}
361361

362-
/// Reads contiguous elements from `slice`. Each lane is read from memory if its
363-
/// corresponding lane in `enable` is `true`.
362+
/// Reads contiguous elements from `slice`. Each element is read from memory if its
363+
/// corresponding element in `enable` is `true`.
364364
///
365-
/// When the lane is disabled or out of bounds for the slice, that memory location
365+
/// When the element is disabled or out of bounds for the slice, that memory location
366366
/// is not accessed and the corresponding value from `or` is passed through.
367367
///
368368
/// # Examples
@@ -387,10 +387,10 @@ where
387387
Self::load_select(slice, enable, Default::default())
388388
}
389389

390-
/// Reads contiguous elements from `slice`. Each lane is read from memory if its
391-
/// corresponding lane in `enable` is `true`.
390+
/// Reads contiguous elements from `slice`. Each element is read from memory if its
391+
/// corresponding element in `enable` is `true`.
392392
///
393-
/// When the lane is disabled or out of bounds for the slice, that memory location
393+
/// When the element is disabled or out of bounds for the slice, that memory location
394394
/// is not accessed and the corresponding value from `or` is passed through.
395395
///
396396
/// # Examples
@@ -419,10 +419,10 @@ where
419419
unsafe { Self::load_select_ptr(slice.as_ptr(), enable, or) }
420420
}
421421

422-
/// Reads contiguous elements from `slice`. Each lane is read from memory if its
423-
/// corresponding lane in `enable` is `true`.
422+
/// Reads contiguous elements from `slice`. Each element is read from memory if its
423+
/// corresponding element in `enable` is `true`.
424424
///
425-
/// When the lane is disabled, that memory location is not accessed and the corresponding
425+
/// When the element is disabled, that memory location is not accessed and the corresponding
426426
/// value from `or` is passed through.
427427
#[must_use]
428428
#[inline]
@@ -436,10 +436,10 @@ where
436436
unsafe { Self::load_select_ptr(ptr, enable, or) }
437437
}
438438

439-
/// Reads contiguous elements starting at `ptr`. Each lane is read from memory if its
440-
/// corresponding lane in `enable` is `true`.
439+
/// Reads contiguous elements starting at `ptr`. Each element is read from memory if its
440+
/// corresponding element in `enable` is `true`.
441441
///
442-
/// When the lane is disabled, that memory location is not accessed and the corresponding
442+
/// When the element is disabled, that memory location is not accessed and the corresponding
443443
/// value from `or` is passed through.
444444
#[must_use]
445445
#[inline]

0 commit comments

Comments
 (0)