Minor grammar fix 'can not' -> 'cannot'
The previous version suggested that the compiler chooses not to check, rather than being unable to check.
This commit is contained in:
parent
b37edea656
commit
87bbb3c738
@ -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
|
inputs since the pointer could be dangling, and raw pointers fall outside of
|
||||||
Rust's safe memory model.
|
Rust's safe memory model.
|
||||||
|
|
||||||
When declaring the argument types to a foreign function, the Rust compiler can
|
When declaring the argument types to a foreign function, the Rust compiler
|
||||||
not check if the declaration is correct, so specifying it correctly is part of
|
cannot check if the declaration is correct, so specifying it correctly is part
|
||||||
keeping the binding correct at runtime.
|
of keeping the binding correct at runtime.
|
||||||
|
|
||||||
The `extern` block can be extended to cover the entire snappy API:
|
The `extern` block can be extended to cover the entire snappy API:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user