From 057b0d338229b87d06be772346ea0b643bdecdc5 Mon Sep 17 00:00:00 2001 From: Herbert Reiter <46045854+damoasda@users.noreply.github.com> Date: Mon, 20 Jun 2022 22:18:36 +0200 Subject: [PATCH] Fix grammar --- src/ch19-01-unsafe-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch19-01-unsafe-rust.md b/src/ch19-01-unsafe-rust.md index 24e33fb91..6ff229dd3 100644 --- a/src/ch19-01-unsafe-rust.md +++ b/src/ch19-01-unsafe-rust.md @@ -325,7 +325,7 @@ most common and follows the C programming language’s ABI. > #### Calling Rust Functions from Other Languages > > We can also use `extern` to create an interface that allows other languages -> to call Rust functions. Instead of an creating a whole `extern` block, we add +> to call Rust functions. Instead of creating a whole `extern` block, we add > the `extern` keyword and specify the ABI to use just before the `fn` keyword > for the relevant function. We also need to add a `#[no_mangle]` annotation to > tell the Rust compiler not to mangle the name of this function. *Mangling* is