diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-08-17 10:44:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-17 10:44:15 -0400 |
| commit | 235fb23e553db0af9ac6e7d134a9f5a35bdf6619 (patch) | |
| tree | c3fb8fc436dc758eb7b2d7c6ddf438225671c3c0 | |
| parent | 58f3041eca2ff0fafcbe183a412173045c4d1846 (diff) | |
| parent | cb4a2d5078684bd8d7461e530754fd135ce27761 (diff) | |
| download | rust-235fb23e553db0af9ac6e7d134a9f5a35bdf6619.tar.gz rust-235fb23e553db0af9ac6e7d134a9f5a35bdf6619.zip | |
Rollup merge of #43930 - pravic:es5-revert-shorthand, r=frewsxcv
Fix ES5 regression with shorthand names. Reverts 1b6c9605e4. I appreciate new features and syntax in Rust, but seriously, don't rewrite anything. Especially if this **breaks** documentation of language itself and every crate hosted at docs.rs.
| -rw-r--r-- | src/librustdoc/html/static/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index fc5977f533c..8ec9cd8660a 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: "", |
