We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be3d390 commit c4e8a07Copy full SHA for c4e8a07
src/doc/nomicon/safe-unsafe-meaning.md
@@ -41,7 +41,7 @@ Some examples of unsafe functions:
41
42
* `slice::get_unchecked` will perform unchecked indexing, allowing memory
43
safety to be freely violated.
44
-* `ptr::offset` is an intrinsic that invokes Undefined Behavior if it is
+* `pointer::offset` is an intrinsic that invokes Undefined Behavior if it is
45
not "in bounds" as defined by LLVM.
46
* `mem::transmute` reinterprets some value as having the given type,
47
bypassing type safety in arbitrary ways. (see [conversions] for details)
0 commit comments