File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5339,9 +5339,9 @@ There are two circumstances where Rust's safety provisions don't work well.
5339
5339
The first is when interfacing with C code, and the second is when building
5340
5340
certain kinds of abstractions.
5341
5341
5342
- Rust has support for FFI (which you can read about in the [ FFI
5343
- Guide] ( guide-ffi.html ) ), but can't guarantee that the C code will be safe.
5344
- Therefore, Rust marks such functions with the ` unsafe `
5342
+ Rust has support for [ FFI] ( http://en.wikipedia.org/wiki/Foreign_function_interface )
5343
+ (which you can read about in the [ FFI Guide] ( guide-ffi.html ) ), but can't guarantee
5344
+ that the C code will be safe. Therefore, Rust marks such functions with the ` unsafe `
5345
5345
keyword, which indicates that the function may not behave properly.
5346
5346
5347
5347
Second, if you'd like to create some sort of shared-memory data structure, Rust
You can’t perform that action at this time.
0 commit comments