Skip to content

Commit c021e7a

Browse files
scrape-examples.js: fix typos
Co-authored-by: Guillaume Gomez <[email protected]>
1 parent b06113d commit c021e7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/html/static/js/rustdoc.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ declare namespace rustdoc {
497497
* First field is the start and end char index,
498498
* other fields seem to be unused.
499499
*
500-
* generated by `render_call_locations` in `render/mod.rs`.
500+
* Generated by `render_call_locations` in `render/mod.rs`.
501501
*/
502502
type ScrapedLoc = [[number, number], string, string]
503503
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
};
122122

123123
/**
124-
* Intitialize the `locs` field
124+
* Initialize the `locs` field
125125
*
126126
* @param {HTMLElement & {locs?: rustdoc.ScrapedLoc[]}} example
127127
* @param {boolean} isHidden

0 commit comments

Comments
 (0)