mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 10:04:23 +00:00
tutorial-ffi: add missing word
This commit is contained in:
parent
5d5e1a6949
commit
a4db39a6fe
@ -65,8 +65,8 @@ extern {
|
||||
|
||||
# Creating a safe interface
|
||||
|
||||
The raw C API needs to be wrapped to provide memory safety and make use higher-level concepts like
|
||||
vectors. A library can choose to expose only the safe, high-level interface and hide the unsafe
|
||||
The raw C API needs to be wrapped to provide memory safety and make use of higher-level concepts
|
||||
like vectors. A library can choose to expose only the safe, high-level interface and hide the unsafe
|
||||
internal details.
|
||||
|
||||
Wrapping the functions which expect buffers involves using the `vec::raw` module to manipulate Rust
|
||||
|
Loading…
Reference in New Issue
Block a user