Skip to content

Commit

Permalink
nicer user-visible string
Browse files Browse the repository at this point in the history
  • Loading branch information
BatmanAoD committed Aug 31, 2024
1 parent e57a0cd commit 6d840d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/behavior-considered-undefined.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 6d840d4

Please sign in to comment.