aboutsummaryrefslogtreecommitdiff
path: root/crates/vfs-notify/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-08 11:15:17 +0000
committerGitHub <[email protected]>2021-03-08 11:15:17 +0000
commit6952a3b4460953bfc854be8ade2763dcfe70b650 (patch)
tree2dc0b8cc155318ca1b9f48de350ffc3beb5dd8b5 /crates/vfs-notify/src/lib.rs
parent13982e4ee42293862646d022273692d65a362885 (diff)
parent128a6a4ec060a73fbd4e1a8dc470cb629fcdbe45 (diff)
Merge #7912
7912: Dedupe import map results r=matklad a=SomeoneToIgnore While debugging https://github.com/rust-analyzer/rust-analyzer/issues/7902, I've found that there are some duplicates are produced during the external dependencies lookup. I've spotted at least some of the `indexed_value.value` duplicated when typed `Arc` and requested the completions for that, so I've also deduped the `IndexedValue`'s to avoid unnecessary computations. This helps to show `Arc` in the completion suggestions in a zero dependency project and in `hir` module, but we loose it again in the `ide` module. Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/vfs-notify/src/lib.rs')
0 files changed, 0 insertions, 0 deletions