Skip to content

Commit 76945af

Browse files
committed
rustdoc: change title of search results rust-lang#128253, rust-lang#128210
1 parent 864fe1b commit 76945af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/js/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3709,7 +3709,7 @@ async function search(forced) {
37093709
}
37103710

37113711
// Update document title to maintain a meaningful browser history
3712-
searchState.title = "Results for " + query.original + " - Rust";
3712+
searchState.title = "\"" + query.original + "\" Search - Rust";
37133713

37143714
// Because searching is incremental by character, only the most
37153715
// recent search query is added to the browser history.

0 commit comments

Comments
 (0)