Use StaticVec.

This commit is contained in:
Stephen Chung
2021-06-06 12:17:04 +08:00
parent a530fbf4ff
commit c02d702081
3 changed files with 13 additions and 14 deletions

View File

@@ -140,7 +140,7 @@ impl Engine {
} else {
self.map_type_name((*a).type_name())
})
.collect::<Vec<_>>()
.collect::<StaticVec<_>>()
.join(", ")
)
}