Skip to content

Commit

Permalink
doc: move misplaced comma
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tshepang committed Aug 24, 2014
1 parent 36131f5 commit 3e94401
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/guide.md
Expand Up @@ -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
Expand Down

5 comments on commit 3e94401

@bors
Copy link
Contributor

@bors bors commented on 3e94401 Aug 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from pcwalton
at tshepang@3e94401

@bors
Copy link
Contributor

@bors bors commented on 3e94401 Aug 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging tshepang/rust/misplaced-comma = 3e94401 into auto

@bors
Copy link
Contributor

@bors bors commented on 3e94401 Aug 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tshepang/rust/misplaced-comma = 3e94401 merged ok, testing candidate = 5ad7afc

@bors
Copy link
Contributor

@bors bors commented on 3e94401 Aug 24, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 5ad7afc

Please sign in to comment.