Change StaticVec to 3 inline elements.

This commit is contained in:
Stephen Chung
2021-09-10 20:25:22 +08:00
parent 43de522568
commit 84be799403
4 changed files with 27 additions and 26 deletions

View File

@@ -24,9 +24,9 @@ fn check_struct_sizes() {
assert_eq!(
size_of::<FnPtr>(),
if cfg!(feature = "no_smartstring") {
80
64
} else {
96
80
}
);
assert_eq!(size_of::<Scope>(), 464);