diff options
| author | lolbinarycat <dogedoge61+github@gmail.com> | 2025-05-27 12:50:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-27 12:50:14 -0500 |
| commit | c021e7a9d2818e7d9f71bd38124d4e2c212007d6 (patch) | |
| tree | f4a6024dda4951594cce0ae350a610882f616582 /src | |
| parent | b06113dc5cd6fbb2cc63918f9e861929537f41fd (diff) | |
| download | rust-c021e7a9d2818e7d9f71bd38124d4e2c212007d6.tar.gz rust-c021e7a9d2818e7d9f71bd38124d4e2c212007d6.zip | |
scrape-examples.js: fix typos
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/js/rustdoc.d.ts | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/static/js/scrape-examples.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/js/rustdoc.d.ts b/src/librustdoc/html/static/js/rustdoc.d.ts index 2c0d47447c0..686d77abde5 100644 --- a/src/librustdoc/html/static/js/rustdoc.d.ts +++ b/src/librustdoc/html/static/js/rustdoc.d.ts @@ -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] } diff --git a/src/librustdoc/html/static/js/scrape-examples.js b/src/librustdoc/html/static/js/scrape-examples.js index ec472666ce1..eeab591bcd8 100644 --- a/src/librustdoc/html/static/js/scrape-examples.js +++ b/src/librustdoc/html/static/js/scrape-examples.js @@ -121,7 +121,7 @@ }; /** - * Intitialize the `locs` field + * Initialize the `locs` field * * @param {HTMLElement & {locs?: rustdoc.ScrapedLoc[]}} example * @param {boolean} isHidden |
