Skip to content

Commit 883de89

Browse files
committed
fix typo
1 parent 25c6898 commit 883de89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/js/scrape-examples.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* global addClass, hasClass, removeClass, onEachLazy, nonnull */
1+
/* global addClass, hasClass, removeClass, onEachLazy, nonnull */
22

33
"use strict";
44

@@ -127,7 +127,7 @@
127127
* @param {boolean} isHidden
128128
*/
129129
function setupLoc(example, isHidden) {
130-
const locs_str = example.attributes.getNamedItem("data-locs")).textContent;
130+
const locs_str = example.attributes.getNamedItem("data-locs").textContent;
131131
const locs = example.locs =
132132
JSON.parse(nonnull(nonnull(locs_str));
133133
// Start with the first example in view

0 commit comments

Comments
 (0)