[ty] Reduce number of inline stored definitions per place (#19409)

This commit is contained in:
Micha Reiser 2025-07-18 18:28:46 +02:00 committed by GitHub
parent e6e029a8b7
commit 630c7a3152
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 36 additions and 36 deletions

View file

@ -107,7 +107,7 @@ pub struct Definitions<'db> {
impl<'db> Definitions<'db> {
pub(crate) fn single(definition: Definition<'db>) -> Self {
Self {
definitions: smallvec::smallvec![definition],
definitions: smallvec::smallvec_inline![definition],
}
}