style(pi-natives): fixed manual_assert lint in drop bomb test

This commit is contained in:
can1357
2026-07-04 09:06:25 +02:00
parent db09905c25
commit b258c790a5
+1 -3
View File
@@ -395,9 +395,7 @@ mod tests {
self
.dropped
.store(true, std::sync::atomic::Ordering::SeqCst);
if !std::thread::panicking() {
panic!("DropBomb detonated in drop");
}
assert!(std::thread::panicking(), "DropBomb detonated in drop");
}
}