//
Search across all documentation pages
11 pages in this section.
What the `unsafe` keyword actually turns off in Rust, why soundness is a property of an entire API rather than a single block, and how to encapsulate unsafe code behind a safe public surface.
Learn what unsafe in Rust allows, including dereferencing raw pointers and calling unsafe fn. Explore what unsafe does not disable, like the borrow checker and type system
Learn best practices for using Unsafe Rust, covering when to use it, ensuring correctness, process guidelines, and recommended tooling.