Document infallible worker join

This commit is contained in:
2026-07-31 03:47:18 +02:00
parent f3ab5a7ece
commit 8781bc67fd
+4
View File
@@ -105,6 +105,10 @@ fn test_sendable_is_send_sync() {
}
#[test]
#[expect(
clippy::expect_used,
reason = "the worker must not panic in this retained-element transfer test"
)]
fn test_send_type_erased_vec_retains_send_elements_across_threads() {
let erased = SendTypeErasedVec::new(vec![Cell::new(42)]);