mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
shrink_to_fit body source map
This commit is contained in:
parent
8f5fee4a5a
commit
cfcef69072
2 changed files with 28 additions and 2 deletions
|
@ -175,7 +175,7 @@ fn collect_import_map(db: &dyn DefDatabase, krate: CrateId) -> FxIndexMap<ItemIn
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
map.shrink_to_fit();
|
||||
map
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue