rust/src/librustdoc/html/static
Michael Howell d82a08537a rustdoc-search: clean up checkPath
This computes the same result with less code by computing many of
the old checks at once:

* It won't enter the loop if clength > length, because then the
  result of length - clength will be negative and the
  loop conditional will fail.
* i + clength will never be greater than length, because it
  starts out as i = length - clength, implying that i + clength
  equals length, and it only goes down from there.
* The aborted variable is replaced with control flow.
2023-11-21 13:09:53 -07:00
..
css Rollup merge of #105666 - notriddle:notriddle/stab-baseline, r=GuillaumeGomez 2023-10-23 08:12:39 +02:00
fonts avoid reuse tripping over copyright notices 2023-03-09 12:24:43 +01:00
images rustdoc: use [svgo] to shrink wheel.svg 2023-02-08 14:17:19 -07:00
js rustdoc-search: clean up checkPath 2023-11-21 13:09:53 -07:00
.eslintrc.js Put backtick content from rustdoc search errors into a <code> elements 2023-03-02 12:59:04 +01:00
COPYRIGHT.txt avoid reuse tripping over copyright notices 2023-03-09 12:24:43 +01:00
LICENSE-APACHE.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
LICENSE-MIT.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
scrape-examples-help.md Update scrape-examples help, fix documentation typos 2022-12-07 09:08:43 -08:00