Skip to content

Commit 2ad9ec9

Browse files
authored
Rollup merge of #154017 - GuillaumeGomez:duplicated-locs-scraped, r=Urgau
Fix invalid add of duplicated call locations for the rustdoc scraped examples feature Fixes rust-lang/rust#153837. The bug was visible in the highlighting of the scrape examples code samples: the same part of the code was marked as "highlight" (by the scraped examples feature) twice, eventually leading to a wrong state of the HTML DOM status. To fix the bug, I added a set to not re-add a location if it's already present. r? @Urgau
2 parents 58f86b7 + 4c02449 commit 2ad9ec9

0 file changed

File tree

    0 commit comments

    Comments
     (0)