doc: move misplaced comma

Also:

* Remove unseeming repetition.
* By now, the reader has already heard that Rust is safe by default, so
reduce the overlong sentence, making it easier to read.
This commit is contained in:
Tshepang Lekhonkhobe 2014-08-24 04:24:25 +02:00
parent 36131f5be4
commit 3e94401a64
1 changed files with 3 additions and 3 deletions

View File

@ -5531,9 +5531,9 @@ There are two circumstances where Rust's safety provisions don't work well.
The first is when interfacing with C code, and the second is when building
certain kinds of abstractions.
Rust has support for FFI, (which you can read about in the [FFI
Guide](guide-ffi.html)) but Rust can't guarantee that the C code will be safe,
like Rust's will. Therefore, Rust marks such functions with the `unsafe`
Rust has support for FFI (which you can read about in the [FFI
Guide](guide-ffi.html)), but can't guarantee that the C code will be safe.
Therefore, Rust marks such functions with the `unsafe`
keyword, which indicates that the function may not behave properly.
Second, if you'd like to create some sort of shared-memory data structure, Rust