mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Use fullpath instead of recreating it
This commit is contained in:
@@ -1267,12 +1267,10 @@
|
||||
type = itemTypes[item.ty];
|
||||
|
||||
if (item.is_alias !== true) {
|
||||
var fullPath = item.displayPath + name;
|
||||
|
||||
if (duplicates[fullPath]) {
|
||||
if (duplicates[item.fullPath]) {
|
||||
return;
|
||||
}
|
||||
duplicates[fullPath] = true;
|
||||
duplicates[item.fullPath] = true;
|
||||
}
|
||||
length += 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user