File tree 1 file changed +2
-2
lines changed
library/core/src/intrinsics
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ extern "platform-intrinsic" {
249
249
///
250
250
/// For each element, if the corresponding value in `mask` is `!0`, read the corresponding
251
251
/// pointer offset from `ptr`.
252
- /// The first element is loaded from `ptr`, the second from `ptr.offset (1)` and so on.
252
+ /// The first element is loaded from `ptr`, the second from `ptr.wrapping_offset (1)` and so on.
253
253
/// Otherwise if the corresponding value in `mask` is `0`, return the corresponding value from
254
254
/// `val`.
255
255
///
@@ -271,7 +271,7 @@ extern "platform-intrinsic" {
271
271
///
272
272
/// For each element, if the corresponding value in `mask` is `!0`, write the corresponding
273
273
/// value in `val` to the pointer offset from `ptr`.
274
- /// The first element is written to `ptr`, the second to `ptr.offset (1)` and so on.
274
+ /// The first element is written to `ptr`, the second to `ptr.wrapping_offset (1)` and so on.
275
275
/// Otherwise if the corresponding value in `mask` is `0`, do nothing.
276
276
///
277
277
/// # Safety
You can’t perform that action at this time.
0 commit comments