rust/src/librustdoc/html
bors 3312a3053b Auto merge of #109802 - notriddle:notriddle/rustdoc-search-generics-nested, r=GuillaumeGomez
rustdoc-search: add support for nested generics

This change allows `search.js` to parse nested generics (which look `Like<This<Example>>`) and match them. It maintains the existing "bag semantics", so that the order of type parameters is ignored but the number is required to be greater than or equal to what's in the query.

For example, a function with the signature `fn read_all(&mut self: impl Read) -> Result<Vec<u8>, Error>` will match these queries:

* `Read -> Result<Vec<u8>, Error>`
* `Read -> Result<Error, Vec>`
* `Read -> Result<Vec<u8>>`

But it *does not* match `Result<Vec, u8>` or `Result<u8<Vec>>`.
2023-04-15 02:23:32 +00:00
..
highlight rustdoc: rename syntax highlighting CSS class attribute to attr 2022-10-31 13:55:39 -07:00
length_limit Remove from librustdoc and clippy too 2023-01-27 20:44:19 -08:00
markdown rustdoc: account for intra-doc links in <meta name="description"> 2023-02-11 16:10:28 -07:00
render remove some unneeded imports 2023-04-12 19:27:18 +02:00
static rustdoc-search: add support for nested generics 2023-04-14 14:55:45 -07:00
templates Move creation of theme.css file from --extend-css command into the static.files folder 2023-04-12 20:07:10 +02:00
toc Format the world 2019-12-22 17:42:47 -05:00
url_parts_builder Document and test UrlPartsBuilder::push_fmt 2022-01-14 12:05:35 -08:00
escape.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
format.rs Fix typos in librustdoc 2023-04-10 21:02:29 +02:00
highlight.rs a couple clippy::complexity fixes 2023-04-01 23:16:33 +02:00
layout.rs rustdoc: remove meta keywords from HTML 2023-01-30 12:20:06 -07:00
length_limit.rs Remove from librustdoc and clippy too 2023-01-27 20:44:19 -08:00
markdown.rs remove some unneeded imports 2023-04-12 19:27:18 +02:00
mod.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
sources.rs rustdoc: migrate document functions to return a Display 2023-04-03 17:17:39 -07:00
static_files.rs Inline CSS background images directly into the CSS 2023-02-01 11:51:02 +01:00
tests.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
toc.rs fix clippy perf lints 2022-05-24 13:35:54 -04:00
url_parts_builder.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00