rust/src/librustdoc
Dylan DPC 8541435e8d
Rollup merge of #82234 - GuillaumeGomez:remove-query-param-on-esc, r=Nemo157
Remove query parameters when skipping search results

Fixes #81330.

This PR changes the following: when pressing ESC and that no other "action" was performed (understand: no closing the search result, or hiding a menu or something along the line), then we discard the URL query parameters (the `?whatever=dsjfs`). What do you think about this change ```@rust-lang/rustdoc``` ?

EDIT: finally we're simply removing the query parameter when we're skipping the search results.

r? ```@Nemo157```
2021-02-23 02:51:54 +01:00
..
clean rustdoc: Remove unnecessary Cell around param_env 2021-02-20 17:12:22 -08:00
doctest Fix injected errors when running doctests on a crate named after a keyword 2021-02-11 17:16:43 -05:00
formats Remove Function all_types and ret_types fields 2021-02-05 17:23:52 +01:00
html Rollup merge of #82234 - GuillaumeGomez:remove-query-param-on-esc, r=Nemo157 2021-02-23 02:51:54 +01:00
json Auto merge of #82020 - jyn514:mut-passes, r=camelid,GuillaumeGomez 2021-02-19 16:39:03 +00:00
passes Auto merge of #82295 - jyn514:feature-gate, r=Manishearth 2021-02-22 00:04:09 +00:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00
config.rs rustdoc: treat edition 2021 as unstable 2021-02-16 19:17:01 -08:00
core.rs Rollup merge of #82382 - camelid:remove-fake_def_ids-refcell, r=jyn514 2021-02-22 18:26:14 +09:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Only store a LocalDefId in hir::MacroDef. 2021-02-15 19:35:55 +01:00
doctree.rs Move StructType to clean, remove it from Unions, make JSON output whether something is a union 2021-01-20 16:46:34 -05:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs Rename VariantKind -> Variant 2021-01-15 13:55:03 -05:00
lib.rs Rollup merge of #82261 - ojeda:rustdoc-argfile, r=jyn514 2021-02-19 02:49:12 +01:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Replace under-used ImplPolarity enum with a boolean 2021-01-09 14:59:37 +01:00
visit_ast.rs Only store a LocalDefId in hir::MacroDef. 2021-02-15 19:35:55 +01:00
visit_lib.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00

For more information about how librustdoc works, see the rustc dev guide.