diff --git a/src/librustdoc/html/static/js/search.js b/src/librustdoc/html/static/js/search.js index f0d6e901ff77..d0f1b3f3c0ba 100644 --- a/src/librustdoc/html/static/js/search.js +++ b/src/librustdoc/html/static/js/search.js @@ -3709,7 +3709,7 @@ async function search(forced) { } // Update document title to maintain a meaningful browser history - searchState.title = "Results for " + query.original + " - Rust"; + searchState.title = "\"" + query.original + "\" Search - Rust"; // Because searching is incremental by character, only the most // recent search query is added to the browser history.