Skip to content

Commit 15ad83f

Browse files
committed
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.
2 parents 4ef2c3e + 87bbb3c commit 15ad83f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/book/ffi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ almost any function that takes a pointer argument isn't valid for all possible
5656
inputs since the pointer could be dangling, and raw pointers fall outside of
5757
Rust's safe memory model.
5858

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

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

0 commit comments

Comments
 (0)