From acb3fbd51fd119b5f300a84ac78dc2215b6b4414 Mon Sep 17 00:00:00 2001 From: Kyle Strand Date: Sun, 29 May 2022 10:47:58 -0600 Subject: [PATCH] text annotations --- src/ffi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ffi.md b/src/ffi.md index ae548c6..5a1b3e2 100644 --- a/src/ffi.md +++ b/src/ffi.md @@ -753,7 +753,7 @@ extern "C-unwind" fn example() { This function (when compiled with `panic=unwind`) is permitted to unwind C++ stack frames. -``` +```text [Rust function with `catch_unwind`, which stops the unwinding] | ... @@ -789,7 +789,7 @@ extern "C-unwind" fn rust_passthrough() { A C++ function with a `try` block may invoke `rust_passthrough` and `catch` an exception thrown by `may_throw`. -``` +```text [C++ function with `try` block that invokes `rust_passthrough`] | ...