File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,14 @@ that you normally can not do. Just three. Here they are:
100
100
101
101
That’s it. It’s important that ` unsafe ` does not, for example, ‘turn off the
102
102
borrow checker’. Adding ` unsafe ` to some random Rust code doesn’t change its
103
- semantics, it won’t just start accepting anything.
103
+ semantics, it won’t just start accepting anything. But it will let you write
104
+ things that _ do_ break some of the rules.
104
105
105
- But it will let you write things that _ do_ break some of the rules. Let’s go
106
- over these three abilities in order.
106
+ You will also encounter the 'unsafe' keyword when writing bindings to foreign
107
+ (non-Rust) interfaces. You're encouraged to write a safe, native Rust interface
108
+ around the methods provided by the library.
109
+
110
+ Let’s go over the basic three abilities listed, in order.
107
111
108
112
## Access or update a ` static mut `
109
113
You can’t perform that action at this time.
0 commit comments