docs: drop the repeated backtrace overstatement in the panic tests

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-08-07 10:39:37 +00:00
parent a29c5e944c
commit e7295a2619
@@ -51,8 +51,8 @@ fn panic_message(payload: &(dyn Any + Send)) -> &str {
mod ffi_boundary_tests {
use super::{catch_ffi_panic, ffi_error};
// Each case panics on purpose, so the panic hook prints a backtrace here even
// though the test passes.
// Each case panics on purpose, so the panic hook logs one here even though the
// test passes.
#[test]
fn a_panic_becomes_an_error_the_worker_can_read() {
let caught = catch_ffi_panic("probe", || panic!("boom {}", 1)).unwrap_err();