Skip to content

Commit

Permalink
Rollup merge of #73017 - pickfire:liballoc-assert, r=Xanewok
Browse files Browse the repository at this point in the history
Use assert_eq for liballoc test
  • Loading branch information
Dylan-DPC authored Jun 5, 2020
2 parents 27376d5 + b54a917 commit 10d9e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/tests/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl Drop for DropCounter<'_> {

#[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]
Expand Down

0 comments on commit 10d9e3c

Please sign in to comment.