Minor grammar fix to ffi.md
This commit is contained in:
parent
fd983d02e1
commit
48b5192cf7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue