diff --git a/src/behavior-considered-undefined.md b/src/behavior-considered-undefined.md index 7b3a72a8a..6cc5869c9 100644 --- a/src/behavior-considered-undefined.md +++ b/src/behavior-considered-undefined.md @@ -1,4 +1,4 @@ -## Behavior considered undefined +/## ndingBehavior considered undefined Rust code is incorrect if it exhibits any of the behaviors in the following list. This includes code within `unsafe` blocks and `unsafe` functions. @@ -75,7 +75,8 @@ Please read the [Rustonomicon] before writing unsafe code. * Violating assumptions of the Rust runtime. This is only possible using mechanisms outside Rust. Most assumptions of the Rust runtime are currently not explicitly documented. - * For assumptions specifically related to unwinding, see [unwinding-ffi]. + * For assumptions specifically related to unwinding, see the [panic + documentation][unwinding-ffi]. * The runtime assumes that a Rust stack frame is not deallocated without executing destructors for local variables owned by the stack frame. This assumption can be violated by C functions like `longjmp`.