We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 219380d commit b54a917Copy full SHA for b54a917
src/liballoc/tests/vec.rs
@@ -16,7 +16,7 @@ impl Drop for DropCounter<'_> {
16
17
#[test]
18
fn test_small_vec_struct() {
19
- assert!(size_of::<Vec<u8>>() == size_of::<usize>() * 3);
+ assert_eq!(size_of::<Vec<u8>>(), size_of::<usize>() * 3);
20
}
21
22
0 commit comments