]> git.lizzy.rs Git - rust.git/commitdiff
accessing private fields is not safe, and io isn't scary
authorAlexis Beingessner <a.beingessner@gmail.com>
Fri, 26 Jun 2015 18:44:02 +0000 (11:44 -0700)
committerAlexis Beingessner <a.beingessner@gmail.com>
Fri, 26 Jun 2015 18:44:02 +0000 (11:44 -0700)
src/doc/reference.md

index a3e13acccae28acf9c5cb5de71ceea4f55099528..7e28651c6aafb1246283932cdb92e9ce83132595 100644 (file)
@@ -1047,11 +1047,8 @@ This is a list of behavior not considered *unsafe* in Rust terms, but that may
 be undesired.
 
 * Deadlocks
-* Reading data from private fields (`std::repr`)
 * Leaks of memory and other resources
 * Exiting without calling destructors
-* Sending signals
-* Accessing/modifying the file system
 * Integer overflow
   - Overflow is considered "unexpected" behavior and is always user-error,
     unless the `wrapping` primitives are used. In non-optimized builds, the compiler