From 48b5192cf7ac6d16fd9c981c5cc745967c6504ef Mon Sep 17 00:00:00 2001 From: Reza Akhavan Date: Sat, 12 Nov 2016 18:24:16 -0800 Subject: [PATCH] Minor grammar fix to ffi.md --- src/doc/book/ffi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/ffi.md b/src/doc/book/ffi.md index 8709c3f4b7b10..cae5d3eb46a7f 100644 --- a/src/doc/book/ffi.md +++ b/src/doc/book/ffi.md @@ -95,7 +95,7 @@ internal details. 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 -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. ```rust