scrape-examples.js: fix typos

Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
lolbinarycat
2025-05-27 12:50:14 -05:00
committed by GitHub
parent b06113dc5c
commit c021e7a9d2
2 changed files with 2 additions and 2 deletions

View File

@@ -497,7 +497,7 @@ declare namespace rustdoc {
* First field is the start and end char index,
* other fields seem to be unused.
*
* generated by `render_call_locations` in `render/mod.rs`.
* Generated by `render_call_locations` in `render/mod.rs`.
*/
type ScrapedLoc = [[number, number], string, string]
}

View File

@@ -121,7 +121,7 @@
};
/**
* Intitialize the `locs` field
* Initialize the `locs` field
*
* @param {HTMLElement & {locs?: rustdoc.ScrapedLoc[]}} example
* @param {boolean} isHidden