accessing private fields is not safe, and io isn't scary

This commit is contained in:
Alexis Beingessner 2015-06-26 11:44:02 -07:00
parent 378a370ff2
commit c98e46c7ca
1 changed files with 0 additions and 3 deletions

View 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