We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8799d3d commit b06113dCopy full SHA for b06113d
src/librustdoc/html/static/js/scrape-examples.js
@@ -127,7 +127,7 @@
127
* @param {boolean} isHidden
128
*/
129
function setupLoc(example, isHidden) {
130
- const locs_str = example.attributes.getNamedItem("data-locs").textContent;
+ const locs_str = nonnull(example.attributes.getNamedItem("data-locs")).textContent;
131
const locs =
132
JSON.parse(nonnull(nonnull(locs_str)));
133
example.locs = locs;
0 commit comments