diff --git a/src/unsafe.md b/src/unsafe.md index 0ce06369..ec9b9d44 100644 --- a/src/unsafe.md +++ b/src/unsafe.md @@ -6,13 +6,16 @@ The Rust language has two parts: * **Unsafe Rust:** can trigger undefined behavior if preconditions are violated. We will be seeing mostly safe Rust in this course, but it's important to know -what unsafe Rust is. +what Unsafe Rust is. Unsafe Rust gives you access to five new capabilities: * Dereference raw pointers. * Access or modify mutable static variables. * Access `union` fields. -* Call `unsafe` functions, including `extern` functions +* Call `unsafe` functions, including `extern` functions. * Implement `unsafe` traits. +We will briefly cover these capabilities next. For full details, please see +[Chapter 19.1 in the Rust Book](https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html) +and the [Rustonomicon](https://doc.rust-lang.org/nomicon/).