We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98e46c commit 9001da6Copy full SHA for 9001da6
src/doc/trpl/unsafe.md
@@ -12,7 +12,7 @@ two contexts. The first one is to mark a function as unsafe:
12
13
```rust
14
unsafe fn danger_will_robinson() {
15
- // scary stuff
+ // scary stuff
16
}
17
```
18
@@ -68,11 +68,8 @@ Whew! That’s a bunch of stuff. It’s also important to notice all kinds of
68
behaviors that are certainly bad, but are expressly _not_ unsafe:
69
70
* Deadlocks
71
-* Reading data from private fields
72
-* Leaks due to reference count cycles
+* Leaks of memory or other resources
73
* Exiting without calling destructors
74
-* Sending signals
75
-* Accessing/modifying the file system
76
* Integer overflow
77
78
Rust cannot prevent all kinds of software problems. Buggy code can and will be
0 commit comments