File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/core/src/intrinsics Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ extern "platform-intrinsic" {
249249 ///
250250 /// For each element, if the corresponding value in `mask` is `!0`, read the corresponding
251251 /// 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.
253253 /// Otherwise if the corresponding value in `mask` is `0`, return the corresponding value from
254254 /// `val`.
255255 ///
@@ -271,7 +271,7 @@ extern "platform-intrinsic" {
271271 ///
272272 /// For each element, if the corresponding value in `mask` is `!0`, write the corresponding
273273 /// 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.
275275 /// Otherwise if the corresponding value in `mask` is `0`, do nothing.
276276 ///
277277 /// # Safety
You can’t perform that action at this time.
0 commit comments