Rollup merge of #73017 - pickfire:liballoc-assert, r=Xanewok

Use assert_eq for liballoc test
This commit is contained in:
Dylan DPC 2020-06-05 13:07:08 +02:00 committed by GitHub
commit 10d9e3c902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ fn drop(&mut self) {
#[test]
fn test_small_vec_struct() {
assert!(size_of::<Vec<u8>>() == size_of::<usize>() * 3);
assert_eq!(size_of::<Vec<u8>>(), size_of::<usize>() * 3);
}
#[test]