From f34283dd9cae426caef8d55438402fd45602df39 Mon Sep 17 00:00:00 2001 From: mencre Date: Sat, 10 Jun 2017 16:00:09 +0200 Subject: [PATCH] Update ch19-01-unsafe-rust.md --- second-edition/src/ch19-01-unsafe-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/second-edition/src/ch19-01-unsafe-rust.md b/second-edition/src/ch19-01-unsafe-rust.md index 10fb73951..bd9b4477d 100644 --- a/second-edition/src/ch19-01-unsafe-rust.md +++ b/second-edition/src/ch19-01-unsafe-rust.md @@ -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: Filename: src/main.rs