We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ef61c3 commit 95995e5Copy full SHA for 95995e5
src/behavior-considered-undefined.md
@@ -2,7 +2,9 @@
2
3
Rust code is incorrect if it exhibits any of the behaviors in the following
4
list. This includes code within `unsafe` blocks and `unsafe` functions.
5
-`unsafe` is not an excuse to cause undefined behavior.
+`unsafe` only means that avoiding undefined behavior is on the programmer; it
6
+does not change anything about the fact that Rust programs must never cause
7
+undefined behavior.
8
9
It is the programmer's responsibility when writing `unsafe` code to ensure that it is not
10
possible to let `safe` code exhibit these behaviors. `unsafe` code that
0 commit comments