mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-12 00:44:40 +00:00
[ty] Reduce number of inline stored definitions per place (#19409)
This commit is contained in:
parent
e6e029a8b7
commit
630c7a3152
9 changed files with 36 additions and 36 deletions
|
|
@ -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],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue