mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
scrape-examples.js: fix typos
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
2
src/librustdoc/html/static/js/rustdoc.d.ts
vendored
2
src/librustdoc/html/static/js/rustdoc.d.ts
vendored
@@ -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]
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
};
|
||||
|
||||
/**
|
||||
* Intitialize the `locs` field
|
||||
* Initialize the `locs` field
|
||||
*
|
||||
* @param {HTMLElement & {locs?: rustdoc.ScrapedLoc[]}} example
|
||||
* @param {boolean} isHidden
|
||||
|
||||
Reference in New Issue
Block a user