Skip to content

Commit c98e46c

Browse files
committed
accessing private fields is not safe, and io isn't scary
1 parent 378a370 commit c98e46c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/doc/reference.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,11 +1047,8 @@ This is a list of behavior not considered *unsafe* in Rust terms, but that may
10471047
be undesired.
10481048

10491049
* Deadlocks
1050-
* Reading data from private fields (`std::repr`)
10511050
* Leaks of memory and other resources
10521051
* Exiting without calling destructors
1053-
* Sending signals
1054-
* Accessing/modifying the file system
10551052
* Integer overflow
10561053
- Overflow is considered "unexpected" behavior and is always user-error,
10571054
unless the `wrapping` primitives are used. In non-optimized builds, the compiler

0 commit comments

Comments
 (0)