Skip to content

Commit cb14033

Browse files
BatmanAoDtmandry
andcommitted
Update src/items/functions.md
PR suggestion: `panic!` with `panic=abort` doesn't care what the ABI is Co-authored-by: Tyler Mandry <tmandry@gmail.com>
1 parent ccc486d commit cb14033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ implementation.
222222
| -------------- | ------------ | ------------------------------------- | ----------------------- |
223223
| `panic=unwind` | `"C-unwind"` | unwind | unwind |
224224
| `panic=unwind` | `"C"` | abort | UB |
225-
| `panic=abort` | `"C-unwind"` | `panic!` aborts | abort |
225+
| `panic=abort` | `"C-unwind"` | `panic!` aborts (no unwinding occurs) | abort |
226226
| `panic=abort` | `"C"` | `panic!` aborts (no unwinding occurs) | UB |
227227

228228
> **Note**: The LLVM backend of the `rustc` implementation

0 commit comments

Comments
 (0)