Skip to content

Commit

Permalink
Fix ES5 regression with shorthand names.
Browse files Browse the repository at this point in the history
Reverts 1b6c960.
  • Loading branch information
pravic committed Aug 17, 2017
1 parent e407206 commit cb4a2d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,9 @@
}

return {
raw,
query,
type,
raw: raw,
query: query,
type: type,
id: query + type
};
}
Expand Down Expand Up @@ -837,7 +837,7 @@

searchWords.push(crate);
searchIndex.push({
crate,
crate: crate,
ty: 1, // == ExternCrate
name: crate,
path: "",
Expand Down

0 comments on commit cb4a2d5

Please sign in to comment.