Skip to content

Commit 6e76b5c

Browse files
ehussBatmanAoD
authored andcommitted
Fix minor typo
1 parent 8f4dc2b commit 6e76b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/panic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ r[panic.unwind.ffi.undefined]
7777
Unwinding with the wrong ABI is undefined behavior:
7878

7979
* Causing an unwind into Rust code from a foreign function that was called via a function declaration or pointer declared with a non-unwinding ABI, such as `"C"`, `"system"`, etc. (For example, this case occurs when such a function written in C++ throws an exception that is uncaught and propagates to Rust.)
80-
* Calling a Rust `extern` function that unwinds (with `extern "C-unwind"` or another ABI that permits unwinding) from a runtime that does not support. unwinding, such as code compiled with GCC or Clang using `-fno-exceptions`
80+
* Calling a Rust `extern` function that unwinds (with `extern "C-unwind"` or another ABI that permits unwinding) from a runtime that does not support unwinding, such as code compiled with GCC or Clang using `-fno-exceptions`
8181

8282
r[panic.unwind.ffi.catch-foreign]
8383
Catching a foreign unwinding operation (such as a C++ exception) using [`std::panic::catch_unwind`], [`std::thread::JoinHandle::join`], or by letting it propagate beyond the Rust `main()` function or thread root will have one of two behaviors, and it is unspecified which will occur:

0 commit comments

Comments
 (0)