Skip to content

Commit

Permalink
Minor grammar fix 'can not' -> 'cannot'
Browse files Browse the repository at this point in the history
The previous version suggested that the compiler chooses not to check, rather than being unable to check.
  • Loading branch information
Wilfred committed Jan 29, 2017
1 parent b37edea commit 87bbb3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/book/ffi.md
Expand Up @@ -56,9 +56,9 @@ almost any function that takes a pointer argument isn't valid for all possible
inputs since the pointer could be dangling, and raw pointers fall outside of
Rust's safe memory model.

When declaring the argument types to a foreign function, the Rust compiler can
not check if the declaration is correct, so specifying it correctly is part of
keeping the binding correct at runtime.
When declaring the argument types to a foreign function, the Rust compiler
cannot check if the declaration is correct, so specifying it correctly is part
of keeping the binding correct at runtime.

The `extern` block can be extended to cover the entire snappy API:

Expand Down

0 comments on commit 87bbb3c

Please sign in to comment.