Merge pull request #762 from mencre/patch-2

Update ch19-01-unsafe-rust.md
This commit is contained in:
Carol (Nichols || Goulding)
2017-06-13 11:32:21 -04:00
committed by GitHub

View File

@@ -326,7 +326,7 @@ Sometimes, your Rust code may need to interact with code written in another
language. To do this, Rust has a keyword, `extern`, that facilitates creating
and using a *Foreign Function Interface* (FFI). Listing 19-8 demonstrates how
to set up an integration with a function named `some_function` defined in an
external library written in a language other tha Rust. Functions declared
external library written in a language other than Rust. Functions declared
within `extern` blocks are always unsafe to call from Rust code:
<span class="filename">Filename: src/main.rs</span>