1
Fork 0

Minor grammar fix to ffi.md

This commit is contained in:
Reza Akhavan 2016-11-12 18:24:16 -08:00 committed by GitHub
parent fd983d02e1
commit 48b5192cf7

View file

@ -95,7 +95,7 @@ internal details.
Wrapping the functions which expect buffers involves using the `slice::raw` module to manipulate Rust Wrapping the functions which expect buffers involves using the `slice::raw` module to manipulate Rust
vectors as pointers to memory. Rust's vectors are guaranteed to be a contiguous block of memory. The vectors as pointers to memory. Rust's vectors are guaranteed to be a contiguous block of memory. The
length is number of elements currently contained, and the capacity is the total size in elements of length is the number of elements currently contained, and the capacity is the total size in elements of
the allocated memory. The length is less than or equal to the capacity. the allocated memory. The length is less than or equal to the capacity.
```rust ```rust