File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
branches/snap-stage3/src/doc/trpl Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3
- refs/heads/snap-stage3: c98e46c7cabd44a306ac52c95d961bcebd899b0f
3
+ refs/heads/snap-stage3: 9001da658ae020199b479f416b21eb71d0d48492
4
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ two contexts. The first one is to mark a function as unsafe:
12
12
13
13
``` rust
14
14
unsafe fn danger_will_robinson () {
15
- // scary stuff
15
+ // scary stuff
16
16
}
17
17
```
18
18
@@ -68,11 +68,8 @@ Whew! That’s a bunch of stuff. It’s also important to notice all kinds of
68
68
behaviors that are certainly bad, but are expressly _ not_ unsafe:
69
69
70
70
* Deadlocks
71
- * Reading data from private fields
72
- * Leaks due to reference count cycles
71
+ * Leaks of memory or other resources
73
72
* Exiting without calling destructors
74
- * Sending signals
75
- * Accessing/modifying the file system
76
73
* Integer overflow
77
74
78
75
Rust cannot prevent all kinds of software problems. Buggy code can and will be
You can’t perform that action at this time.
0 commit comments