Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
scrape-examples.js: fix typos
Co-authored-by: Guillaume Gomez <[email protected]>
  • Loading branch information
lolbinarycat and GuillaumeGomez authored May 27, 2025
commit c021e7a9d2818e7d9f71bd38124d4e2c212007d6
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/js/rustdoc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/js/scrape-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
};

/**
* Intitialize the `locs` field
* Initialize the `locs` field
*
* @param {HTMLElement & {locs?: rustdoc.ScrapedLoc[]}} example
* @param {boolean} isHidden
Expand Down
Loading