diff --git a/src/tools/rustdoc-js/tester.js b/src/tools/rustdoc-js/tester.js index 9b7e151b1ffe..7c9ee2a49430 100644 --- a/src/tools/rustdoc-js/tester.js +++ b/src/tools/rustdoc-js/tester.js @@ -115,7 +115,7 @@ function lookForEntry(entry, data) { if (!entry.hasOwnProperty(key)) { continue; } - let value = data[i][key]; + var value = data[i][key]; // To make our life easier, if there is a "parent" type, we add it to the path. if (key === 'path' && data[i]['parent'] !== undefined) { if (value.length > 0) {