We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea716ce + 93e7a9f commit 4b873aeCopy full SHA for 4b873ae
tests/message_from_boxed_slice.rs
@@ -28,4 +28,5 @@ fn message_from_boxed_slice() {
28
let mut b: Box<[u8]> = Box::new([0u8; 42]);
29
CHECK_PTR.store(b.as_mut_ptr() as *mut u8, Ordering::SeqCst);
30
let _ = zmq::Message::from(b);
31
+ assert_eq!(CHECK_PTR.load(Ordering::SeqCst), ptr::null_mut());
32
}
0 commit comments