From cb4a2d5078684bd8d7461e530754fd135ce27761 Mon Sep 17 00:00:00 2001 From: pravic Date: Thu, 17 Aug 2017 12:41:14 +0300 Subject: [PATCH] Fix ES5 regression with shorthand names. Reverts 1b6c9605e4. --- src/librustdoc/html/static/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index fc5977f533cbb..8ec9cd8660a80 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -596,9 +596,9 @@ } return { - raw, - query, - type, + raw: raw, + query: query, + type: type, id: query + type }; } @@ -837,7 +837,7 @@ searchWords.push(crate); searchIndex.push({ - crate, + crate: crate, ty: 1, // == ExternCrate name: crate, path: "",