Update text/XXX-unwind-FFI.md

Fix typo caught in review

Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
BatmanAoD 2019-07-16 08:55:21 -06:00 committed by GitHub
parent 306de900c2
commit 51339410c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ unwinding across the FFI boundary is well-defined and safe,
and in fact it can be a useful way to handle errors
when working with certain C libraries, such as `libjpeg`.
Thus, the `may_panic` function may be makred `#[unwind(allow)]`,
Thus, the `may_panic` function may be marked `#[unwind(allow)]`,
which ensures that the unwinding operation will be propagated to the caller
rather than aborting the process.
This annotation will also prevent the compiler