Description
mdbook v4.6+ has a feature that pressing ESC removes query components from URLs (for example ?highlight=...
).
The feature was implemented in rust-lang/mdBook#1427.
It would be nice if rustdoc offers the same kind of that feature.
This is, for example, an URL that contains query components in rustdoc: https://doc.rust-lang.org/nightly/std/time/struct.Duration.html?search=asdfasdf.
What's the benefit of this feature?
When users share URLs to an API, they don't have to remove the query manually.