Skip to content

Commit

Permalink
accessing private fields is not safe, and io isn't scary
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed Jun 26, 2015
1 parent 378a370 commit c98e46c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c98e46c

Please sign in to comment.