Skip to content

Commit

Permalink
actually ArcIntern<str> is big
Browse files Browse the repository at this point in the history
  • Loading branch information
droundy committed Apr 11, 2024
1 parent 312babb commit 84fece5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/arc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,15 +509,6 @@ fn arc_has_niche() {
std::mem::size_of::<Option<ArcIntern<String>>>(),
std::mem::size_of::<usize>(),
);

assert_eq!(
std::mem::size_of::<ArcIntern<str>>(),
std::mem::size_of::<usize>(),
);
assert_eq!(
std::mem::size_of::<Option<ArcIntern<str>>>(),
std::mem::size_of::<usize>(),
);
}

#[test]
Expand Down

0 comments on commit 84fece5

Please sign in to comment.