File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5288,9 +5288,9 @@ There are two circumstances where Rust's safety provisions don't work well.
5288
5288
The first is when interfacing with C code, and the second is when building
5289
5289
certain kinds of abstractions.
5290
5290
5291
- Rust has support for FFI (which you can read about in the [ FFI
5292
- Guide] ( guide-ffi.html ) ), but can't guarantee that the C code will be safe.
5293
- Therefore, Rust marks such functions with the ` unsafe `
5291
+ Rust has support for [ FFI] ( http://en.wikipedia.org/wiki/Foreign_function_interface )
5292
+ (which you can read about in the [ FFI Guide] ( guide-ffi.html ) ), but can't guarantee
5293
+ that the C code will be safe. Therefore, Rust marks such functions with the ` unsafe `
5294
5294
keyword, which indicates that the function may not behave properly.
5295
5295
5296
5296
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