We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 692077b commit 3aed207Copy full SHA for 3aed207
src/librustrt/at_exit_imp.rs
@@ -31,7 +31,7 @@ pub fn init() {
31
let state: Box<Queue> = box Exclusive::new(Vec::new());
32
unsafe {
33
rtassert!(!RUNNING.load(atomics::SeqCst));
34
- rtassert!(QUEUE.swap(mem::transmute(state), atomics::SeqCst) == 0);
+ assert!(QUEUE.swap(mem::transmute(state), atomics::SeqCst) == 0);
35
}
36
37
0 commit comments