about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-30 02:47:06 +0000
committerbors <bors@rust-lang.org>2017-01-30 02:47:06 +0000
commit15ad83f1d9479a27269de1d02e631ea86e76a259 (patch)
tree385ff5978905602b3e81ff555f7aaa1fc4e3d554
parent4ef2c3e075d843939aac8ffd8a07306235a1120f (diff)
parent87bbb3c738e7d351d21fb19b51b2094b5afa0482 (diff)
downloadrust-15ad83f1d9479a27269de1d02e631ea86e76a259.tar.gz
rust-15ad83f1d9479a27269de1d02e631ea86e76a259.zip
Auto merge of #39389 - Wilfred:patch-2, r=apasel422
Minor grammar fix 'can not' -> 'cannot'

The previous version suggested that the compiler chooses not to check, rather than being unable to check.
-rw-r--r--src/doc/book/ffi.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/book/ffi.md b/src/doc/book/ffi.md
index 8ab580e6aa9..8d29f11aa05 100644
--- a/src/doc/book/ffi.md
+++ b/src/doc/book/ffi.md
@@ -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: