We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 316f00a + 1ef9ba3 commit 1bb9042Copy full SHA for 1bb9042
src/lib.rs
@@ -625,10 +625,11 @@ mod tests {
625
626
// Check that the clone uses its own, separate shared data storage
627
assert_eq!(
628
- as_ptr(&buf_clone.output.shared),
+ as_ptr(&buf_clone.input.shared),
629
as_ptr(&buf_clone.output.shared)
630
);
631
- assert!(as_ptr(&buf_clone.input.shared) != as_ptr(&buf.input.shared));
+ assert_ne!(as_ptr(&buf_clone.input.shared), as_ptr(&buf.input.shared));
632
+ assert_ne!(as_ptr(&buf_clone.output.shared), as_ptr(&buf.output.shared));
633
634
// Check that it is identical from PartialEq's point of view
635
assert_eq!(buf, buf_clone);
0 commit comments