Fix grammar

This commit is contained in:
Herbert Reiter
2022-06-28 12:10:26 -04:00
committed by Carol (Nichols || Goulding)
parent 3e5105b52f
commit 057b0d3382
+1 -1
View File
@@ -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