Skip to content

Commit c4e8a07

Browse files
committed
New path of method offset
1 parent be3d390 commit c4e8a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/nomicon/safe-unsafe-meaning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Some examples of unsafe functions:
4141

4242
* `slice::get_unchecked` will perform unchecked indexing, allowing memory
4343
safety to be freely violated.
44-
* `ptr::offset` is an intrinsic that invokes Undefined Behavior if it is
44+
* `pointer::offset` is an intrinsic that invokes Undefined Behavior if it is
4545
not "in bounds" as defined by LLVM.
4646
* `mem::transmute` reinterprets some value as having the given type,
4747
bypassing type safety in arbitrary ways. (see [conversions] for details)

0 commit comments

Comments
 (0)